"session_write_close(): Write failed: No space left on device (28)"
if ($this->debugbar) {
$this->debugbar['exceptions']->addThrowable($e);
}
if ($this->clockwork) {
$exceptions = $this->clockwork->userData('Exceptions');
$exceptions->data(['message' => $e->getMessage()]);
$this->clockwork->alert($e->getMessage(), ['exception' => $e]);
}
}
return $this;
}
public function setErrorHandler()
{
$this->errorHandler = set_error_handler([$this, 'deprecatedErrorHandler']);
}
public function deprecatedErrorHandler($errno, $errstr, $errfile, $errline)
{
if ($errno !== E_USER_DEPRECATED && $errno !== E_DEPRECATED) {
if ($this->errorHandler) {
return call_user_func($this->errorHandler, $errno, $errstr, $errfile, $errline);
}
return true;
}
if (!$this->enabled) {
return true;
}
$scope = 'unknown';
if (stripos($errstr, 'grav') !== false) {
$scope = 'grav';
} elseif (strpos($errfile, '/twig/') !== false) {
$scope = 'twig';
if (str_contains($errstr, '#[\ReturnTypeWillChange]') || str_contains($errstr, 'Passing null to parameter')) {
return true;
}
} elseif (stripos($errfile, '/yaml/') !== false) {
$scope = 'yaml';
} elseif (strpos($errfile, '/vendor/') !== false) {
$scope = 'vendor';
}
$backtrace = debug_backtrace(DEBUG_BACKTRACE_PROVIDE_OBJECT);
Key | Value |
messages | Grav\Framework\Session\Messages {#86} |
Key | Value |
USER | "www"
|
HOME | "/home/www"
|
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 | "*/*"
|
HTTP_HOST | "info-lsapp.com"
|
PATH_INFO | "" |
REDIRECT_STATUS | "200"
|
SERVER_NAME | "154.218.168.37"
|
SERVER_PORT | "443"
|
SERVER_ADDR | "154.218.172.41"
|
REMOTE_PORT | "56256"
|
REMOTE_ADDR | "216.73.216.165"
|
SERVER_SOFTWARE | "nginx/1.22.1"
|
GATEWAY_INTERFACE | "CGI/1.1"
|
HTTPS | "on"
|
REQUEST_SCHEME | "https"
|
SERVER_PROTOCOL | "HTTP/2.0"
|
DOCUMENT_ROOT | "/www/wwwroot/154.218.168.37"
|
DOCUMENT_URI | "/index.php"
|
REQUEST_URI | "/sitemap.xml"
|
SCRIPT_NAME | "/index.php"
|
CONTENT_LENGTH | "" |
CONTENT_TYPE | "" |
REQUEST_METHOD | "GET"
|
QUERY_STRING | "" |
SCRIPT_FILENAME | "/www/wwwroot/154.218.168.37/index.php"
|
FCGI_ROLE | "RESPONDER"
|
PHP_SELF | "/index.php"
|
REQUEST_TIME_FLOAT | 1752221882.6128
|
REQUEST_TIME | 1752221882
|