Whoops \ Exception \ ErrorException (E_COMPILE_ERROR)
Type of JException::$file must be string (as in class Exception) Whoops\Exception\ErrorException thrown with message "Type of JException::$file must be string (as in class Exception)" Stacktrace: #3 Whoops\Exception\ErrorException in /home4/citeco32/www.pauloneto.geec.com.br/libraries/legacy/exception/exception.php:18 #2 Whoops\Run:handleError in /home4/citeco32/www.pauloneto.geec.com.br/libraries/gantry5/vendor/filp/whoops/src/Whoops/Run.php:433 #1 Whoops\Run:handleShutdown in /home4/citeco32/www.pauloneto.geec.com.br/libraries/gantry5/classes/Gantry/Component/Whoops/SystemFacade.php:155 #0 Gantry\Component\Whoops\SystemFacade:handleShutdown in [internal]:0
Stack frames (4)
3
Whoops\Exception\ErrorException
/home4/citeco32/www.pauloneto.geec.com.br/libraries/legacy/exception/exception.php18
2
Whoops\Run handleError
/vendor/filp/whoops/src/Whoops/Run.php433
1
Whoops\Run handleShutdown
/classes/Gantry/Component/Whoops/SystemFacade.php155
0
Gantry\Component\Whoops\SystemFacade handleShutdown
[internal]0
<?php
/**
 * @package     Joomla.Legacy
 * @subpackage  Exception
 *
 * @copyright   Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */
 
defined('JPATH_PLATFORM') or die;
 
/**
 * Joomla! Exception object.
 *
 * @since       1.5
 * @deprecated  1.7
 */
class JException extends Exception
{
    /**
     * Error level.
     *
     * @var    string
     * @since  1.5
     * @deprecated  1.7
     */
    protected $level = null;
 
    /**
     * Error code.
     *
     * @var    string
     * @since  1.5
     * @deprecated  1.7
     */
    protected $code = null;
 
    /**
     * Error message.
     *
    /**
     * Special case to deal with Fatal errors and the like.
     */
    public function handleShutdown()
    {
        // If we reached this step, we are in shutdown handler.
        // An exception thrown in a shutdown handler will not be propagated
        // to the exception handler. Pass that information along.
        $this->canThrowExceptions = false;
 
        $error = $this->system->getLastError();
        if ($error && Misc::isLevelFatal($error['type'])) {
            // If there was a fatal error,
            // it was not handled in handleError yet.
            $this->allowQuit = false;
            $this->handleError(
                $error['type'],
                $error['message'],
                $error['file'],
                $error['line']
            );
        }
    }
 
    /**
     * In certain scenarios, like in shutdown handler, we can not throw exceptions
     * @var bool
     */
    private $canThrowExceptions = true;
 
    /**
     * Echo something to the browser
     * @param  string $output
     * @return $this
     */
    private function writeToOutputNow($output)
    {
        if ($this->sendHttpCode() && \Whoops\Util\Misc::canSendHeaders()) {
            $this->system->setHttpResponseCode(
                $this->sendHttpCode()
        }
 
        // Propagate error to the next handler.
        if ($this->platformExceptionHandler) {
            call_user_func_array($this->platformExceptionHandler, [&$exception]);
        }
    }
 
    /**
     * Special case to deal with Fatal errors and the like.
     */
    public function handleShutdown()
    {
        $handler = $this->whoopsShutdownHandler;
 
        $error = $this->getLastError();
 
        // Ignore core warnings and errors.
        if ($error && !($error['type'] & (E_CORE_WARNING | E_CORE_ERROR))) {
            $handler();
        }
    }
}
 

Environment & details:

Key Value
limitstart 0
order date
dir desc
empty
empty
empty
Key Value
joomla TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjE6e3M6OToiX19kZWZhdWx0IjtPOjg6InN0ZENsYXNzIjo0OntzOjc6InNlc3Npb24iO086ODoic3RkQ2xhc3MiOjI6e3M6NzoiY291bnRlciI7aToxO3M6NToidGltZXIiO086ODoic3RkQ2xhc3MiOjM6e3M6NToic3RhcnQiO2k6MTcxMzQ1NDMxOTtzOjQ6Imxhc3QiO2k6MTcxMzQ1NDMxOTtzOjM6Im5vdyI7aToxNzEzNDU0MzE5O319czo4OiJyZWdpc3RyeSI7TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjA6e31zOjE0OiIAKgBpbml0aWFsaXplZCI7YjowO3M6OToic2VwYXJhdG9yIjtzOjE6Ii4iO31zOjQ6InVzZXIiO086MjA6Ikpvb21sYVxDTVNcVXNlclxVc2VyIjoxOntzOjI6ImlkIjtpOjA7fXM6MTQ6InZ2aXNpdF9jb3VudGVyIjtPOjg6InN0ZENsYXNzIjoxOntzOjc6Imxhc3Rsb2ciO2Q6MTcxMzYwMDAwMDt9fX1zOjE0OiIAKgBpbml0aWFsaXplZCI7YjowO3M6OToic2VwYXJhdG9yIjtzOjE6Ii4iO30=
Key Value
LSPHP_ENABLE_USER_INI on
PATH /usr/local/bin:/usr/bin:/bin
TEMP /tmp
TMP /tmp
TMPDIR /tmp
PWD /
HTTP_ACCEPT */*
CONTENT_LENGTH 0
HTTP_HOST paulosnetos.net
HTTP_USER_AGENT claudebot
REDIRECT_UNIQUE_ID ZiE87xbNeoTHOhFFBUXHvQAAAEM
REDIRECT_QS_SrvConn 105
REDIRECT_QS_AllConn 108
REDIRECT_QS_ConnectionId 1713454318064914791020301
REDIRECT_SCRIPT_URL /viewcategory/3-livros-textos
REDIRECT_SCRIPT_URI http://paulosnetos.net/viewcategory/3-livros-textos
REDIRECT_HTTP_AUTHORIZATION
REDIRECT_STATUS 200
UNIQUE_ID ZiE87xbNeoTHOhFFBUXHvQAAAEM
QS_SrvConn 105
QS_AllConn 108
QS_ConnectionId 1713454318064914791020301
SCRIPT_URL /viewcategory/3-livros-textos
SCRIPT_URI http://paulosnetos.net/viewcategory/3-livros-textos
HTTP_AUTHORIZATION
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
SERVER_NAME paulosnetos.net
SERVER_ADDR 162.241.60.224
SERVER_PORT 80
REMOTE_ADDR 18.188.252.23
DOCUMENT_ROOT /home4/citeco32/www.pauloneto.geec.com.br
REQUEST_SCHEME http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /home4/citeco32/www.pauloneto.geec.com.br
SERVER_ADMIN webmaster@paulosnetos.net.geec.com.br
SCRIPT_FILENAME /home4/citeco32/www.pauloneto.geec.com.br/index.php
REMOTE_PORT 1876
REDIRECT_URL /viewcategory/3-livros-textos
REDIRECT_QUERY_STRING limitstart=0&order=date&dir=desc
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING limitstart=0&order=date&dir=desc
REQUEST_URI /viewcategory/3-livros-textos?limitstart=0&order=date&dir=desc
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1713454319.0285
REQUEST_TIME 1713454319
argv Array ( [0] => limitstart=0&order=date&dir=desc )
argc 1
empty
0. Whoops\Handler\PrettyPageHandler