Whoops \ Exception \ ErrorException (E_COMPILE_ERROR)
Declaration of FoxLog::add($entry, $priority = self::INFO, $category = '', $date = null) must be compatible with Joomla\CMS\Log\Log::add($entry, $priority = self::INFO, $category = '', $date = null, array $context = []) Whoops\Exception\ErrorException thrown with message "Declaration of FoxLog::add($entry, $priority = self::INFO, $category = '', $date = null) must be compatible with Joomla\CMS\Log\Log::add($entry, $priority = self::INFO, $category = '', $date = null, array $context = [])" Stacktrace: #3 Whoops\Exception\ErrorException in /home/jigsawco/public_html/yonijesner.org/libraries/foxcontact/joomla/log.php:25 #2 Whoops\Run:handleError in /home/jigsawco/public_html/yonijesner.org/libraries/gantry5/vendor/filp/whoops/src/Whoops/Run.php:486 #1 Whoops\Run:handleShutdown in /home/jigsawco/public_html/yonijesner.org/libraries/gantry5/src/classes/Gantry/Component/Whoops/SystemFacade.php:167 #0 Gantry\Component\Whoops\SystemFacade:handleShutdown in [internal]:0
Stack frames (4)
3
Whoops\Exception\ErrorException
/home/jigsawco/public_html/yonijesner.org/libraries/foxcontact/joomla/log.php25
2
Whoops\Run handleError
/vendor/filp/whoops/src/Whoops/Run.php486
1
Whoops\Run handleShutdown
/src/classes/Gantry/Component/Whoops/SystemFacade.php167
0
Gantry\Component\Whoops\SystemFacade handleShutdown
[internal]0
 * @see       Documentation: http://www.fox.ra.it/forum/2-documentation.html
 */
 
class FoxLog extends JLog
{
    private static $category_by_file = array();
    
    public static function addLogger(array $options, $priority = self::ALL, $categories = array(), $exclude = false)
    {
        $key = $exclude ? "1:{$options['text_file']}" : "0:{$options['text_file']}";
        foreach ($categories as $category)
        {
            self::$category_by_file[$key][$category] = true;
        }
        
        JLog::addLogger($options, $priority, array_keys(self::$category_by_file[$key]), $exclude);
    }
    
    
    public static function add($entry, $priority = self::INFO, $category = '', $date = null)
    {
        try
        {
            JLog::add($entry, $priority, $category, $date);
        }
        catch (Throwable $t)
        {
        }
        catch (Exception $e)
        {
        }
    
    }
 
}
     *
     * @return void
     */
    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']
            );
        }
    }
 
    /**
     * @param Throwable $exception
     *
     * @return Inspector
     */
    private function getInspector($exception)
    {
        return new Inspector($exception);
    }
 
    /**
     * Resolves the giving handler.
     *
     * @param callable|HandlerInterface $handler
     *
     * @return HandlerInterface
        }
 
        // 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 TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjE6e3M6OToiX19kZWZhdWx0IjtPOjg6InN0ZENsYXNzIjozOntzOjc6InNlc3Npb24iO086ODoic3RkQ2xhc3MiOjI6e3M6NzoiY291bnRlciI7aToxO3M6NToidGltZXIiO086ODoic3RkQ2xhc3MiOjM6e3M6NToic3RhcnQiO2k6MTcxMDg0OTE3MztzOjQ6Imxhc3QiO2k6MTcxMDg0OTE3MztzOjM6Im5vdyI7aToxNzEwODQ5MTczO319czo4OiJyZWdpc3RyeSI7TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjA6e31zOjE0OiIAKgBpbml0aWFsaXplZCI7YjowO3M6OToic2VwYXJhdG9yIjtzOjE6Ii4iO31zOjQ6InVzZXIiO086MjA6Ikpvb21sYVxDTVNcVXNlclxVc2VyIjoxOntzOjI6ImlkIjtpOjA7fX19czoxNDoiACoAaW5pdGlhbGl6ZWQiO2I6MDtzOjk6InNlcGFyYXRvciI7czoxOiIuIjt9
Key Value
LSPHP_ENABLE_USER_INI on
PATH /usr/local/bin:/bin:/usr/bin
HTTP_ACCEPT */*
HTTP_HOST yonijesner.org
HTTP_USER_AGENT claudebot
DOCUMENT_ROOT /home/jigsawco/public_html/yonijesner.org
REMOTE_ADDR 3.85.63.190
REMOTE_PORT 59040
SERVER_ADDR 62.182.23.133
SERVER_NAME yonijesner.org
SERVER_ADMIN webmaster@yonijesner.jigsawcomputing.co.uk
SERVER_PORT 80
REQUEST_SCHEME http
REQUEST_URI /projects/under-one-roof-2018/registration-page.html
REDIRECT_URL /projects/under-one-roof-2018/registration-page.html
REDIRECT_REQUEST_METHOD GET
HTTP_AUTHORIZATION
REDIRECT_STATUS 200
SCRIPT_FILENAME /home/jigsawco/public_html/yonijesner.org/index.php
QUERY_STRING
SCRIPT_URI http://yonijesner.org/projects/under-one-roof-2018/registration-page.html
SCRIPT_URL /projects/under-one-roof-2018/registration-page.html
SCRIPT_NAME /index.php
SERVER_PROTOCOL HTTP/1.1
SERVER_SOFTWARE LiteSpeed
REQUEST_METHOD GET
X-LSCACHE on
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710849173.301
REQUEST_TIME 1710849173
argv Array ( )
argc 0
empty
0. Whoops\Handler\PrettyPageHandler