0.
…/­vendor/­filp/­whoops/­src/­Whoops/­Run.php228

Whoops \ Exception \ ErrorException (E_ERROR) Whoops\Exception\ErrorException thrown with message "Uncaught TypeError: Argument 1 passed to Whoops\Run::handleException() must be an instance of Exception, instance of Error given in /srv/web/vendor/filp/whoops/src/Whoops/Run.php:228 Stack trace: #0 [internal function]: Whoops\Run->handleException(Object(Error)) #1 {main} thrown" Stacktrace: #0 in /srv/web/vendor/filp/whoops/src/Whoops/Run.php:228

Uncaught TypeError: Argument 1 passed to Whoops\Run::handleException() must be an instance of Exception, instance of Error given in /srv/web/vendor/filp/whoops/src/Whoops/Run.php:228 Stack trace: #0 [internal function]: Whoops\Run->handleException(Object(Error)) #1 {main} thrown

/srv/web/vendor/filp/whoops/src/Whoops/Run.php
    /**
     * Handles an exception, ultimately generating a Whoops error
     * page.
     *
     * @param  Exception $exception
     * @return string Output generated by handlers
     */
    public function handleException(Exception $exception)
    {
        // Walk the registered handlers in the reverse order
Key Value
PHP_EXTRA_CONFIGURE_ARGS --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data
PNHOST www.publicandonews.com.br
PHP_INI_DIR /usr/local/etc/php
HOSTNAME 41a74bdb3726
SHLVL 1
HOME /home/www-data
PHP_LDFLAGS -Wl,-O1 -Wl,--hash-style=both -pie
PHP_MD5 65eef256f6e7104a05361939f5e23ada
PHP_CFLAGS -fstack-protector-strong -fpic -fpie -O2
PNMYSQL mysql://root:x0b678G4jI@database/publicandonews
PHP_VERSION 7.1.1
GPG_KEYS A917B1ECDA84AEC2B568FED6F50ABC807BD5DCD0 528995BFEDFBA7191D46839EF9BA0ADA31CBD89E
PHP_ASC_URL https://secure.php.net/get/php-7.1.1.tar.xz.asc/from/this/mirror
PHP_CPPFLAGS -fstack-protector-strong -fpic -fpie -O2
PHP_URL https://secure.php.net/get/php-7.1.1.tar.xz/from/this/mirror
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PWD /srv/web
PHPIZE_DEPS autoconf file g++ gcc libc-dev make pkgconf re2c
PHP_SHA256 b3565b0c1441064eba204821608df1ec7367abff881286898d900c2c2a5ffe70
USER www-data
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENT CCBot/2.0 (http://commoncrawl.org/faq/)
HTTP_ACCEPT_ENCODING x-gzip, gzip, deflate
HTTP_HOST publicandonews.com.br
SCRIPT_FILENAME /srv/web/httpdocs/404.php
REDIRECT_STATUS 200
SERVER_NAME publicandonews.com.br
SERVER_PORT 80
SERVER_ADDR 172.18.0.4
REMOTE_PORT 60630
REMOTE_ADDR 54.91.38.173
SERVER_SOFTWARE nginx/1.11.9
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.0
DOCUMENT_ROOT /srv/web/httpdocs
DOCUMENT_URI /404.php
REQUEST_URI /noticia/login.html
SCRIPT_NAME /404.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
FCGI_ROLE RESPONDER
PHP_SELF /404.php
REQUEST_TIME_FLOAT 1513519177.0581
REQUEST_TIME 1513519177
argv Array ( )
argc 0
empty
empty
empty
empty
empty
Key Value
PHP_EXTRA_CONFIGURE_ARGS --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data
PNHOST www.publicandonews.com.br
PHP_INI_DIR /usr/local/etc/php
HOSTNAME 41a74bdb3726
SHLVL 1
HOME /home/www-data
PHP_LDFLAGS -Wl,-O1 -Wl,--hash-style=both -pie
PHP_MD5 65eef256f6e7104a05361939f5e23ada
PHP_CFLAGS -fstack-protector-strong -fpic -fpie -O2
PNMYSQL mysql://root:x0b678G4jI@database/publicandonews
PHP_VERSION 7.1.1
GPG_KEYS A917B1ECDA84AEC2B568FED6F50ABC807BD5DCD0 528995BFEDFBA7191D46839EF9BA0ADA31CBD89E
PHP_ASC_URL https://secure.php.net/get/php-7.1.1.tar.xz.asc/from/this/mirror
PHP_CPPFLAGS -fstack-protector-strong -fpic -fpie -O2
PHP_URL https://secure.php.net/get/php-7.1.1.tar.xz/from/this/mirror
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PWD /srv/web
PHPIZE_DEPS autoconf file g++ gcc libc-dev make pkgconf re2c
PHP_SHA256 b3565b0c1441064eba204821608df1ec7367abff881286898d900c2c2a5ffe70
USER www-data
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENT CCBot/2.0 (http://commoncrawl.org/faq/)
HTTP_ACCEPT_ENCODING x-gzip, gzip, deflate
HTTP_HOST publicandonews.com.br
SCRIPT_FILENAME /srv/web/httpdocs/404.php
REDIRECT_STATUS 200
SERVER_NAME publicandonews.com.br
SERVER_PORT 80
SERVER_ADDR 172.18.0.4
REMOTE_PORT 60630
REMOTE_ADDR 54.91.38.173
SERVER_SOFTWARE nginx/1.11.9
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.0
DOCUMENT_ROOT /srv/web/httpdocs
DOCUMENT_URI /404.php
REQUEST_URI /noticia/login.html
SCRIPT_NAME /404.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
FCGI_ROLE RESPONDER
0. Whoops\Handler\PrettyPageHandler