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 /usr/home/pablop76/domains/web-service.com.pl/public_html/beauty-joomla/libraries/legacy/exception/exception.php:18 #2 Whoops\Run:handleError in /usr/home/pablop76/domains/web-service.com.pl/public_html/beauty-joomla/libraries/gantry5/vendor/filp/whoops/src/Whoops/Run.php:433 #1 Whoops\Run:handleShutdown in /usr/home/pablop76/domains/web-service.com.pl/public_html/beauty-joomla/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
/usr/home/pablop76/domains/web-service.com.pl/public_html/beauty-joomla/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   (C) 2007 Open Source Matters, Inc. <https://www.joomla.org>
 * @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:

empty
empty
empty
empty
Key Value
joomla TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjE6e3M6OToiX19kZWZhdWx0IjtPOjg6InN0ZENsYXNzIjozOntzOjc6InNlc3Npb24iO086ODoic3RkQ2xhc3MiOjI6e3M6NzoiY291bnRlciI7aToxO3M6NToidGltZXIiO086ODoic3RkQ2xhc3MiOjM6e3M6NToic3RhcnQiO2k6MTcxMTYyMzE3NTtzOjQ6Imxhc3QiO2k6MTcxMTYyMzE3NTtzOjM6Im5vdyI7aToxNzExNjIzMTc1O319czo4OiJyZWdpc3RyeSI7TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjA6e31zOjE0OiIAKgBpbml0aWFsaXplZCI7YjowO3M6OToic2VwYXJhdG9yIjtzOjE6Ii4iO31zOjQ6InVzZXIiO086MjA6Ikpvb21sYVxDTVNcVXNlclxVc2VyIjoxOntzOjI6ImlkIjtpOjA7fX19czoxNDoiACoAaW5pdGlhbGl6ZWQiO2I6MDtzOjk6InNlcGFyYXRvciI7czoxOiIuIjt9
Key Value
HOME /home/pablop76
USER pablop76
PATH /bin:/usr/bin:/usr/local/bin
HTTP_X_FORWARDED_HTTPS on
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_CONNECTION close
HTTP_X_DCACHE YES
HTTP_HOST web-service.com.pl
HTTPS on
REDIRECT_STATUS 200
GEOIP_COUNTRY_CODE US
PATH_INFO
SERVER_USER pablop76
SERVER_DOMAIN web-service.com.pl
SERVER_NAME web-service.com.pl
SERVER_PORT 443
SERVER_ADDR 185.36.169.65
REMOTE_PORT
REMOTE_ADDR 34.204.3.195
SERVER_SOFTWARE Apache/N-G-I-N-X-htaccess-support
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /usr/home/pablop76/domains/web-service.com.pl/public_html
DOCUMENT_URI /beauty-joomla/pakiety
REQUEST_URI /beauty-joomla/pakiety
SCRIPT_NAME /beauty-joomla/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
SCRIPT_FILENAME /usr/home/pablop76/domains/web-service.com.pl/public_html/beauty-joomla/index.php
FCGI_ROLE RESPONDER
PHP_SELF /beauty-joomla/index.php
REQUEST_TIME_FLOAT 1711623175.9384
REQUEST_TIME 1711623175
empty
0. Whoops\Handler\PrettyPageHandler