"session_write_close(): Write failed: No space left on device (28)"
*/
public function setErrorHandler()
{
$this->errorHandler = set_error_handler(
[$this, 'deprecatedErrorHandler']
);
}
/**
* @param int $errno
* @param string $errstr
* @param string $errfile
* @param int $errline
* @return bool
*/
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;
}
// Figure out error scope from the error.
$scope = 'unknown';
if (stripos($errstr, 'grav') !== false) {
$scope = 'grav';
} elseif (strpos($errfile, '/twig/') !== false) {
$scope = 'twig';
// TODO: remove when upgrading to Twig 2+
if (str_contains($errstr, '#[\ReturnTypeWillChange]') || str_contains($errstr, 'Passing null to parameter')) {
return true;
}
} elseif (stripos($errfile, '/yaml/') !== false) {
2
"session_write_close(): Write failed: No space left on device (28)"
"Unknown"
0
2
"session_write_close(): Write failed: No space left on device (28)"
"Unknown"
0
| Key | Value |
| redirect_after_login | null
|
| user | Grav\Common\User\User {#620} |
| messages | Grav\Framework\Session\Messages {#86} |
| Key | Value |
| TEMP | "/home/clients/dc8410f692d1bfa9c6e76abbfa0814f5/tmp"
|
| TMPDIR | "/home/clients/dc8410f692d1bfa9c6e76abbfa0814f5/tmp"
|
| TMP | "/home/clients/dc8410f692d1bfa9c6e76abbfa0814f5/tmp"
|
| SCRIPT_NAME | "/index.php"
|
| REQUEST_URI | "/sitemap.xml"
|
| QUERY_STRING | "" |
| REQUEST_METHOD | "GET"
|
| SERVER_PROTOCOL | "HTTP/1.1"
|
| GATEWAY_INTERFACE | "CGI/1.1"
|
| REDIRECT_URL | "/sitemap.xml"
|
| REMOTE_PORT | "57370"
|
| SCRIPT_FILENAME | "/home/clients/dc8410f692d1bfa9c6e76abbfa0814f5/sites/studiorodrigomartins.com/index.php"
|
| SERVER_ADMIN | "webmaster@studiorodrigomartins.com"
|
| CONTEXT_DOCUMENT_ROOT | "/home/clients/dc8410f692d1bfa9c6e76abbfa0814f5/sites/studiorodrigomartins.com"
|
| CONTEXT_PREFIX | "" |
| REQUEST_SCHEME | "https"
|
| DOCUMENT_ROOT | "/home/clients/dc8410f692d1bfa9c6e76abbfa0814f5/sites/studiorodrigomartins.com"
|
| REMOTE_ADDR | "216.73.216.156"
|
| SERVER_PORT | "443"
|
| SERVER_ADDR | "127.0.0.80"
|
| SERVER_NAME | "www.studiorodrigomartins.com"
|
| SERVER_SOFTWARE | "Apache"
|
| SERVER_SIGNATURE | "" |
| PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
| HTTP_X_FORWARDED_PROTO | "https"
|
| HTTP_HOST | "www.studiorodrigomartins.com"
|
| 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 | "*/*"
|
| PHP_VERSION | "8.1"
|
| SCRIPT_URI | "https://www.studiorodrigomartins.com/sitemap.xml"
|
| SCRIPT_URL | "/sitemap.xml"
|
| HTTPS | "on"
|
| UNIQUE_ID | "acHS4FE3w3bC3uv34w83eQAAAP4"
|
| REDIRECT_STATUS | "200"
|
| REDIRECT_PHP_VERSION | "8.1"
|
| REDIRECT_SCRIPT_URI | "https://www.studiorodrigomartins.com/sitemap.xml"
|
| REDIRECT_SCRIPT_URL | "/sitemap.xml"
|
| REDIRECT_HTTPS | "on"
|
| REDIRECT_UNIQUE_ID | "acHS4FE3w3bC3uv34w83eQAAAP4"
|
| FCGI_ROLE | "RESPONDER"
|
| PHP_SELF | "/index.php"
|
| REQUEST_TIME_FLOAT | 1774310112.8275
|
| REQUEST_TIME | 1774310112
|
| Key | Value |
| TEMP | "/home/clients/dc8410f692d1bfa9c6e76abbfa0814f5/tmp"
|
| TMPDIR | "/home/clients/dc8410f692d1bfa9c6e76abbfa0814f5/tmp"
|
| TMP | "/home/clients/dc8410f692d1bfa9c6e76abbfa0814f5/tmp"
|
| SCRIPT_NAME | "/index.php"
|
| REQUEST_URI | "/sitemap.xml"
|
| QUERY_STRING | "" |
| REQUEST_METHOD | "GET"
|
| SERVER_PROTOCOL | "HTTP/1.1"
|
| GATEWAY_INTERFACE | "CGI/1.1"
|
| REDIRECT_URL | "/sitemap.xml"
|
| REMOTE_PORT | "57370"
|
| SCRIPT_FILENAME | "/home/clients/dc8410f692d1bfa9c6e76abbfa0814f5/sites/studiorodrigomartins.com/index.php"
|
| SERVER_ADMIN | "webmaster@studiorodrigomartins.com"
|
| CONTEXT_DOCUMENT_ROOT | "/home/clients/dc8410f692d1bfa9c6e76abbfa0814f5/sites/studiorodrigomartins.com"
|
| CONTEXT_PREFIX | "" |
| REQUEST_SCHEME | "https"
|
| DOCUMENT_ROOT | "/home/clients/dc8410f692d1bfa9c6e76abbfa0814f5/sites/studiorodrigomartins.com"
|
| REMOTE_ADDR | "216.73.216.156"
|
| SERVER_PORT | "443"
|
| SERVER_ADDR | "127.0.0.80"
|
| SERVER_NAME | "www.studiorodrigomartins.com"
|
| SERVER_SOFTWARE | "Apache"
|
| SERVER_SIGNATURE | "" |
| PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
| HTTP_X_FORWARDED_PROTO | "https"
|
| HTTP_HOST | "www.studiorodrigomartins.com"
|
| 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 | "*/*"
|
| PHP_VERSION | "8.1"
|
| SCRIPT_URI | "https://www.studiorodrigomartins.com/sitemap.xml"
|
| SCRIPT_URL | "/sitemap.xml"
|
| HTTPS | "on"
|
| UNIQUE_ID | "acHS4FE3w3bC3uv34w83eQAAAP4"
|
| REDIRECT_STATUS | "200"
|
| REDIRECT_PHP_VERSION | "8.1"
|
| REDIRECT_SCRIPT_URI | "https://www.studiorodrigomartins.com/sitemap.xml"
|
| REDIRECT_SCRIPT_URL | "/sitemap.xml"
|
| REDIRECT_HTTPS | "on"
|
| REDIRECT_UNIQUE_ID | "acHS4FE3w3bC3uv34w83eQAAAP4"
|
| FCGI_ROLE | "RESPONDER"
|
| PHP_SELF | "/index.php"
|
| REQUEST_TIME_FLOAT | 1774310112.8275
|
| REQUEST_TIME | 1774310112
|