"session_write_close(): Write failed: Disk quota exceeded (122)"
*/
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) {
| Key | Value |
| messages | Grav\Framework\Session\Messages {#138} |
| redirect_after_login | "/"
|
| user | Grav\Common\User\User {#376} |
| Key | Value |
| USER | "allfamilyheating"
|
| HOME | "/home/allfamilyheating"
|
| SCRIPT_NAME | "/index.php"
|
| REQUEST_URI | "/"
|
| QUERY_STRING | "" |
| REQUEST_METHOD | "GET"
|
| SERVER_PROTOCOL | "HTTP/2.0"
|
| GATEWAY_INTERFACE | "CGI/1.1"
|
| REMOTE_PORT | "29192"
|
| SCRIPT_FILENAME | "/home/allfamilyheating/public_html/index.php"
|
| SERVER_ADMIN | "[no address given]"
|
| CONTEXT_DOCUMENT_ROOT | "/home/allfamilyheating/public_html"
|
| CONTEXT_PREFIX | "" |
| REQUEST_SCHEME | "https"
|
| DOCUMENT_ROOT | "/home/allfamilyheating/public_html"
|
| REMOTE_ADDR | "216.73.216.63"
|
| SERVER_PORT | "443"
|
| SERVER_ADDR | "64.19.194.34"
|
| SERVER_NAME | "allfamilyheating.com"
|
| SERVER_SOFTWARE | "Apache"
|
| SERVER_SIGNATURE | "" |
| PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
| HTTP_HOST | "allfamilyheating.com"
|
| HTTP_REFERER | "https://www.allfamilyheating.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 | "*/*"
|
| proxy-nokeepalive | "1"
|
| SSL_TLS_SNI | "allfamilyheating.com"
|
| HTTPS | "on"
|
| H2_STREAM_TAG | "2248823-55-3"
|
| H2_STREAM_ID | "3"
|
| H2_PUSHED_ON | "" |
| H2_PUSHED | "" |
| H2_PUSH | "off"
|
| H2PUSH | "off"
|
| HTTP2 | "on"
|
| SCRIPT_URI | "https://allfamilyheating.com/"
|
| SCRIPT_URL | "/"
|
| FCGI_ROLE | "RESPONDER"
|
| PHP_SELF | "/index.php"
|
| REQUEST_TIME_FLOAT | 1779904231.4964
|
| REQUEST_TIME | 1779904231
|