Deprecated: array_first(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/dev/facilefe-test/vendor/illuminate/support/helpers.php on line 111

Deprecated: array_last(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/dev/facilefe-test/vendor/illuminate/support/helpers.php on line 183

Deprecated: GuzzleHttp\Promise\queue(): Implicitly marking parameter $assign as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/dev/facilefe-test/vendor/guzzlehttp/promises/src/functions.php on line 21

Deprecated: GuzzleHttp\Promise\each(): Implicitly marking parameter $onFulfilled as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/dev/facilefe-test/vendor/guzzlehttp/promises/src/functions.php on line 348

Deprecated: GuzzleHttp\Promise\each(): Implicitly marking parameter $onRejected as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/dev/facilefe-test/vendor/guzzlehttp/promises/src/functions.php on line 349

Deprecated: GuzzleHttp\Promise\each_limit(): Implicitly marking parameter $onFulfilled as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/dev/facilefe-test/vendor/guzzlehttp/promises/src/functions.php on line 375

Deprecated: GuzzleHttp\Promise\each_limit(): Implicitly marking parameter $onRejected as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/dev/facilefe-test/vendor/guzzlehttp/promises/src/functions.php on line 376

Deprecated: GuzzleHttp\Promise\each_limit_all(): Implicitly marking parameter $onFulfilled as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/dev/facilefe-test/vendor/guzzlehttp/promises/src/functions.php on line 399

Deprecated: Monolog\Processor\WebProcessor::__construct(): Implicitly marking parameter $extraFields as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/dev/facilefe-test/vendor/monolog/monolog/src/Monolog/Processor/WebProcessor.php on line 45

Warning: The magic method Util\Singleton::__wakeup() must have public visibility in /var/www/html/dev/facilefe-test/src/Util/Singleton.php on line 32

Deprecated: Whoops\Run::__construct(): Implicitly marking parameter $system as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/dev/facilefe-test/vendor/filp/whoops/src/Whoops/Run.php on line 38

Deprecated: {closure:Whoops\Handler\PrettyPageHandler::addDataTableCallback():334}(): Implicitly marking parameter $inspector as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/dev/facilefe-test/vendor/filp/whoops/src/Whoops/Handler/PrettyPageHandler.php on line 334

Deprecated: Whoops\Util\TemplateHelper::render(): Implicitly marking parameter $additionalVariables as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/dev/facilefe-test/vendor/filp/whoops/src/Whoops/Util/TemplateHelper.php on line 237

Deprecated: Symfony\Component\VarDumper\Cloner\AbstractCloner::__construct(): Implicitly marking parameter $casters as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/dev/facilefe-test/vendor/symfony/var-dumper/Cloner/AbstractCloner.php on line 149

Deprecated: Return type of Whoops\Exception\FrameCollection::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/dev/facilefe-test/vendor/filp/whoops/src/Whoops/Exception/FrameCollection.php on line 101
Whoops! There was an error.
Whoops \ Exception \ ErrorException (E_DEPRECATED)
DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated Whoops\Exception\ErrorException thrown with message "DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated" Stacktrace: #8 Whoops\Exception\ErrorException in /var/www/html/dev/facilefe-test/vendor/monolog/monolog/src/Monolog/Logger.php:324 #7 DateTime:__construct in /var/www/html/dev/facilefe-test/vendor/monolog/monolog/src/Monolog/Logger.php:324 #6 Monolog\Logger:addRecord in /var/www/html/dev/facilefe-test/vendor/monolog/monolog/src/Monolog/Logger.php:458 #5 Monolog\Logger:addError in /var/www/html/dev/facilefe-test/core.php:101 #4 {closure:/var/www/html/dev/facilefe-test/core.php:100} in /var/www/html/dev/facilefe-test/vendor/filp/whoops/src/Whoops/Handler/CallbackHandler.php:50 #3 Whoops\Handler\CallbackHandler:handle in /var/www/html/dev/facilefe-test/vendor/filp/whoops/src/Whoops/Run.php:272 #2 Whoops\Run:handleException in /var/www/html/dev/facilefe-test/vendor/filp/whoops/src/Whoops/Run.php:353 #1 Whoops\Run:handleError in /var/www/html/dev/facilefe-test/vendor/filp/whoops/src/Whoops/Run.php:378 #0 Whoops\Run:handleShutdown in [internal]:0
Stack frames (9)
8
Whoops
\
Exception
\
ErrorException
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Logger.php
324
7
DateTime
__construct
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Logger.php
324
6
Monolog
\
Logger
addRecord
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Logger.php
458
5
Monolog
\
Logger
addError
/
core.php
101
4
{closure:/var/www/html/dev/facilefe-test/core.php:100}
/
vendor
/
filp
/
whoops
/
src
/
Whoops
/
Handler
/
CallbackHandler.php
50
3
Whoops
\
Handler
\
CallbackHandler
handle
/
vendor
/
filp
/
whoops
/
src
/
Whoops
/
Run.php
272
2
Whoops
\
Run
handleException
/
vendor
/
filp
/
whoops
/
src
/
Whoops
/
Run.php
353
1
Whoops
\
Run
handleError
/
vendor
/
filp
/
whoops
/
src
/
Whoops
/
Run.php
378
0
Whoops
\
Run
handleShutdown
[internal]
0
/
var
/
www
/
html
/
dev
/
facilefe-test
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Logger.php
                $handlerKey = key($this->handlers);
                break;
            }
 
            next($this->handlers);
        }
 
        if (null === $handlerKey) {
            return false;
        }
 
        if (!static::$timezone) {
            static::$timezone = new \DateTimeZone(date_default_timezone_get() ?: 'UTC');
        }
 
        // php7.1+ always has microseconds enabled, so we do not need this hack
        if ($this->microsecondTimestamps && PHP_VERSION_ID < 70100) {
            $ts = \DateTime::createFromFormat('U.u', sprintf('%.6F', microtime(true)), static::$timezone);
        } else {
            $ts = new \DateTime(null, static::$timezone);
        }
        $ts->setTimezone(static::$timezone);
 
        $record = array(
            'message' => (string) $message,
            'context' => $context,
            'level' => $level,
            'level_name' => $levelName,
            'channel' => $this->name,
            'datetime' => $ts,
            'extra' => array(),
        );
 
        try {
            foreach ($this->processors as $processor) {
                $record = call_user_func($processor, $record);
            }
 
            while ($handler = current($this->handlers)) {
                if (true === $handler->handle($record)) {
Arguments
  1. "DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated"
    
/
var
/
www
/
html
/
dev
/
facilefe-test
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Logger.php
                $handlerKey = key($this->handlers);
                break;
            }
 
            next($this->handlers);
        }
 
        if (null === $handlerKey) {
            return false;
        }
 
        if (!static::$timezone) {
            static::$timezone = new \DateTimeZone(date_default_timezone_get() ?: 'UTC');
        }
 
        // php7.1+ always has microseconds enabled, so we do not need this hack
        if ($this->microsecondTimestamps && PHP_VERSION_ID < 70100) {
            $ts = \DateTime::createFromFormat('U.u', sprintf('%.6F', microtime(true)), static::$timezone);
        } else {
            $ts = new \DateTime(null, static::$timezone);
        }
        $ts->setTimezone(static::$timezone);
 
        $record = array(
            'message' => (string) $message,
            'context' => $context,
            'level' => $level,
            'level_name' => $levelName,
            'channel' => $this->name,
            'datetime' => $ts,
            'extra' => array(),
        );
 
        try {
            foreach ($this->processors as $processor) {
                $record = call_user_func($processor, $record);
            }
 
            while ($handler = current($this->handlers)) {
                if (true === $handler->handle($record)) {
/
var
/
www
/
html
/
dev
/
facilefe-test
/
vendor
/
monolog
/
monolog
/
src
/
Monolog
/
Logger.php
     *
     * @param  string $message The log message
     * @param  array  $context The log context
     * @return bool   Whether the record has been processed
     */
    public function addWarning($message, array $context = array())
    {
        return $this->addRecord(static::WARNING, $message, $context);
    }
 
    /**
     * Adds a log record at the ERROR level.
     *
     * @param  string $message The log message
     * @param  array  $context The log context
     * @return bool   Whether the record has been processed
     */
    public function addError($message, array $context = array())
    {
        return $this->addRecord(static::ERROR, $message, $context);
    }
 
    /**
     * Adds a log record at the CRITICAL level.
     *
     * @param  string $message The log message
     * @param  array  $context The log context
     * @return bool   Whether the record has been processed
     */
    public function addCritical($message, array $context = array())
    {
        return $this->addRecord(static::CRITICAL, $message, $context);
    }
 
    /**
     * Adds a log record at the ALERT level.
     *
     * @param  string $message The log message
     * @param  array  $context The log context
     * @return bool   Whether the record has been processed
/
var
/
www
/
html
/
dev
/
facilefe-test
/
core.php
        $handlers[] = new RotatingFileHandler($docroot.'/logs/setup.log', 0, Monolog\Logger::EMERGENCY);
    }
 
    // Inizializzazione Whoops
    $whoops = new Whoops\Run();
 
    if (App::debug()) {
        $whoops->pushHandler(new Whoops\Handler\PrettyPageHandler());
    }
 
    // Abilita la gestione degli errori nel caso la richiesta sia di tipo AJAX
    if (Whoops\Util\Misc::isAjaxRequest()) {
        $whoops->pushHandler(new Whoops\Handler\JsonResponseHandler());
    }
 
    $whoops->register();
 
    // Aggiunta di Monolog a Whoops
    $whoops->pushHandler(function ($exception, $inspector, $run) use ($logger) {
        $logger->addError($exception->getMessage(), [
            'code' => $exception->getCode(),
            'message' => $exception->getMessage(),
            'file' => $exception->getFile(),
            'line' => $exception->getLine(),
            'trace' => $exception->getTraceAsString(),
        ]);
    });
} else {
    $handlers[] = new StreamHandler($docroot.'/logs/api.log', Monolog\Logger::ERROR);
}
 
// Disabilita i messaggi nativi di PHP
ini_set('display_errors', 0);
// Ignora gli avvertimenti e le informazioni relative alla deprecazione di componenti
error_reporting(E_ALL & ~E_WARNING & ~E_NOTICE & ~E_USER_DEPRECATED & ~E_STRICT);
 
$pattern = '[%datetime%] %channel%.%level_name%: %message% %context%'.PHP_EOL.'%extra% '.PHP_EOL;
$monologFormatter = new Monolog\Formatter\LineFormatter($pattern);
$monologFormatter->includeStacktraces(App::debug());
 
/
var
/
www
/
html
/
dev
/
facilefe-test
/
vendor
/
filp
/
whoops
/
src
/
Whoops
/
Handler
/
CallbackHandler.php
                'Argument to ' . __METHOD__ . ' must be valid callable'
            );
        }
 
        $this->callable = $callable;
    }
 
    /**
     * @return int|null
     */
    public function handle()
    {
        $exception = $this->getException();
        $inspector = $this->getInspector();
        $run       = $this->getRun();
        $callable  = $this->callable;
 
        // invoke the callable directly, to get simpler stacktraces (in comparison to call_user_func).
        // this assumes that $callable is a properly typed php-callable, which we check in __construct().
        return $callable($exception, $inspector, $run);
    }
}
 
/
var
/
www
/
html
/
dev
/
facilefe-test
/
vendor
/
filp
/
whoops
/
src
/
Whoops
/
Run.php
 
        // Capture output produced while handling the exception,
        // we might want to send it straight away to the client,
        // or return it silently.
        $this->system->startOutputBuffering();
 
        // Just in case there are no handlers:
        $handlerResponse = null;
        $handlerContentType = null;
 
        foreach (array_reverse($this->handlerStack) as $handler) {
            $handler->setRun($this);
            $handler->setInspector($inspector);
            $handler->setException($exception);
 
            // The HandlerInterface does not require an Exception passed to handle()
            // and neither of our bundled handlers use it.
            // However, 3rd party handlers may have already relied on this parameter,
            // and removing it would be possibly breaking for users.
            $handlerResponse = $handler->handle($exception);
 
            // Collect the content type for possible sending in the headers.
            $handlerContentType = method_exists($handler, 'contentType') ? $handler->contentType() : null;
 
            if (in_array($handlerResponse, [Handler::LAST_HANDLER, Handler::QUIT])) {
                // The Handler has handled the exception in some way, and
                // wishes to quit execution (Handler::QUIT), or skip any
                // other handlers (Handler::LAST_HANDLER). If $this->allowQuit
                // is false, Handler::QUIT behaves like Handler::LAST_HANDLER
                break;
            }
        }
 
        $willQuit = $handlerResponse == Handler::QUIT && $this->allowQuit();
 
        $output = $this->system->cleanOutputBuffer();
 
        // If we're allowed to, send output generated by handlers directly
        // to the output, otherwise, and if the script doesn't quit, return
        // it so that it may be used by the caller
/
var
/
www
/
html
/
dev
/
facilefe-test
/
vendor
/
filp
/
whoops
/
src
/
Whoops
/
Run.php
    public function handleError($level, $message, $file = null, $line = null)
    {
        if ($level & $this->system->getErrorReportingLevel()) {
            foreach ($this->silencedPatterns as $entry) {
                $pathMatches = (bool) preg_match($entry["pattern"], $file);
                $levelMatches = $level & $entry["levels"];
                if ($pathMatches && $levelMatches) {
                    // Ignore the error, abort handling
                    // See https://github.com/filp/whoops/issues/418
                    return true;
                }
            }
 
            // XXX we pass $level for the "code" param only for BC reasons.
            // see https://github.com/filp/whoops/issues/267
            $exception = new ErrorException($message, /*code*/ $level, /*severity*/ $level, $file, $line);
            if ($this->canThrowExceptions) {
                throw $exception;
            } else {
                $this->handleException($exception);
            }
            // Do not propagate errors which were already handled by Whoops.
            return true;
        }
 
        // Propagate error to the next handler, allows error_get_last() to
        // work on silenced errors.
        return false;
    }
 
    /**
     * 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;
 
/
var
/
www
/
html
/
dev
/
facilefe-test
/
vendor
/
filp
/
whoops
/
src
/
Whoops
/
Run.php
        // Propagate error to the next handler, allows error_get_last() to
        // work on silenced errors.
        return false;
    }
 
    /**
     * 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->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)
[internal]

Environment & details:

empty
empty
empty
empty
empty
Key Value
USER
"www-data"
HOME
"/var/www"
SCRIPT_NAME
"/facilefe-test/index.php"
REQUEST_URI
"/facilefe-test/"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.1"
GATEWAY_INTERFACE
"CGI/1.1"
REMOTE_PORT
"27186"
SCRIPT_FILENAME
"//var/www/html/dev/facilefe-test/index.php"
SERVER_ADMIN
"[no address given]"
CONTEXT_DOCUMENT_ROOT
"/var/www/html/dev"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"https"
DOCUMENT_ROOT
"/var/www/html/dev"
REMOTE_ADDR
"216.73.216.84"
SERVER_PORT
"443"
SERVER_ADDR
"212.54.224.234"
SERVER_NAME
"dev-01-85.sophiainformatica.it"
SERVER_SOFTWARE
"Apache/2.4.58 (Ubuntu)"
SERVER_SIGNATURE
""
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/snap/bin"
HTTP_HOST
"dev-01-85.sophiainformatica.it"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_ACCEPT
"*/*"
proxy-nokeepalive
"1"
SSL_TLS_SNI
"dev-01-85.sophiainformatica.it"
HTTPS
"on"
HTTP_MOD_REWRITE
"On"
SCRIPT_URI
"https://dev-01-85.sophiainformatica.it/facilefe-test/"
SCRIPT_URL
"/facilefe-test/"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/facilefe-test/index.php"
REQUEST_TIME_FLOAT
1777020697.9489
REQUEST_TIME
1777020697
empty
0. Whoops\Handler\PrettyPageHandler
1. Whoops\Handler\CallbackHandler