"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) {
| Key | Value |
| grav-site-4eed8db | "952c8qmfqna3ko88ar8u00l4ke"
|
| Key | Value |
| redirect_after_login | "/"
|
| user | Grav\Common\User\User {#694} |
| messages | Grav\Framework\Session\Messages {#86} |
| Key | Value |
| TEMP | "/tmp"
|
| TMPDIR | "/tmp"
|
| TMP | "/tmp"
|
| PATH | "/usr/local/bin:/usr/bin:/bin"
|
| HOSTNAME | "" |
| USER | "www-data"
|
| HOME | "/var/www"
|
| HTTP_HOST | "www.exoticethiopiatour.com"
|
| HTTP_CONNECTION | "Keep-Alive"
|
| HTTP_X_FORWARDED_PROTO | "https"
|
| HTTP_CF_VISITOR | "{"scheme":"https"}"
|
| HTTP_CF_IPCOUNTRY | "US"
|
| HTTP_CF_CONNECTING_IP | "216.73.217.112"
|
| HTTP_CDN_LOOP | "cloudflare; loops=1"
|
| HTTP_ACCEPT_ENCODING | "gzip, br"
|
| HTTP_CF_RAY | "a43ec5928ded07b2-CMH"
|
| HTTP_REFERER | "https://exoticethiopiatour.com/sitemap.xml"
|
| HTTP_COOKIE | "grav-site-4eed8db=952c8qmfqna3ko88ar8u00l4ke"
|
| HTTP_USER_AGENT | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])"
|
| HTTP_ACCEPT | "*/*"
|
| HTTP_X_FORWARDED_FOR | "216.73.217.112"
|
| SCRIPT_FILENAME | "/mnt/DjZUhdd/Webhosting/websites/exoticethiopiatour.com/grav//index.php"
|
| REDIRECT_STATUS | "200"
|
| SERVER_NAME | "www.exoticethiopiatour.com"
|
| SERVER_PORT | "443"
|
| SERVER_ADDR | "2a02:8428:71e5:2a01:e7c:1a43:90a3:66b6"
|
| REMOTE_USER | "" |
| REMOTE_PORT | "" |
| REMOTE_ADDR | "216.73.217.112"
|
| SERVER_SOFTWARE | "nginx/1.26.2"
|
| GATEWAY_INTERFACE | "CGI/1.1"
|
| HTTPS | "on"
|
| REQUEST_SCHEME | "https"
|
| SERVER_PROTOCOL | "HTTP/1.1"
|
| DOCUMENT_ROOT | "/mnt/DjZUhdd/Webhosting/websites/exoticethiopiatour.com/grav"
|
| DOCUMENT_URI | "/index.php"
|
| REQUEST_URI | "/"
|
| SCRIPT_NAME | "/index.php"
|
| CONTENT_LENGTH | "" |
| CONTENT_TYPE | "" |
| REQUEST_METHOD | "GET"
|
| QUERY_STRING | "" |
| FCGI_ROLE | "RESPONDER"
|
| PHP_SELF | "/index.php"
|
| REQUEST_TIME_FLOAT | 1790892357.7652
|
| REQUEST_TIME | 1790892357
|