"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 |
| handl_landing_page | "https://sprutcam.com/fr/wp-json/wp/v2/product/297535"
|
| HandLtestDomainNameServer | "HandLtestDomainValueServer"
|
| handl_ip | "216.73.217.116"
|
| handl_url | "https://sprutcam.com/fr/wp-json/wp/v2/product/297535"
|
| user_agent | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])"
|
| handl_url_base | "https://sprutcam.com/fr/wp-json/wp/v2/product/297535"
|
| Key | Value |
| messages | Grav\Framework\Session\Messages {#86} |
| Key | Value |
| HOME | "/var/www/studio-lofigirl.com"
|
| USER | "www-data"
|
| 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 | "10393"
|
| SCRIPT_FILENAME | "/var/www/718-studio-lofigirl.com//index.php"
|
| SERVER_ADMIN | "webmaster@localhost"
|
| CONTEXT_DOCUMENT_ROOT | "/var/www/718-studio-lofigirl.com"
|
| CONTEXT_PREFIX | "" |
| REQUEST_SCHEME | "https"
|
| DOCUMENT_ROOT | "/var/www/718-studio-lofigirl.com"
|
| REMOTE_ADDR | "104.23.166.180"
|
| SERVER_PORT | "443"
|
| SERVER_ADDR | "165.22.199.126"
|
| SERVER_NAME | "studio-lofigirl.com"
|
| SERVER_SOFTWARE | "Apache/2.4.67 (Debian)"
|
| SERVER_SIGNATURE | "<address>Apache/2.4.67 (Debian) Server at studio-lofigirl.com Port 443</address>\n"
|
| PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
|
| HTTP_HOST | "studio-lofigirl.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.116"
|
| HTTP_CDN_LOOP | "cloudflare; loops=1"
|
| HTTP_CF_RAY | "9ff70f0cbd2fa5f3-AMS"
|
| HTTP_ACCEPT_ENCODING | "gzip, br"
|
| HTTP_COOKIE | "handl_landing_page=https%3A%2F%2Fsprutcam.com%2Ffr%2Fwp-json%2Fwp%2Fv2%2Fproduct%2F297535; HandLtestDomainNameServer=HandLtestDomainValueServer; handl_ip=216.73.217.116; handl_url=https%3A%2F%2Fsprutcam.com%2Ffr%2Fwp-json%2Fwp%2Fv2%2Fproduct%2F297535; user_agent=Mozilla%2F5.0%20AppleWebKit%2F537.36%20%28KHTML%2C%20like%20Gecko%3B%20compatible%3B%20ClaudeBot%2F1.0%3B%20%2Bclaudebot%40anthropic.com%29; handl_url_base=https%3A%2F%2Fsprutcam.com%2Ffr%2Fwp-json%2Fwp%2Fv2%2Fproduct%2F297535"
|
| HTTP_ACCEPT | "*/*"
|
| HTTP_USER_AGENT | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])"
|
| HTTP_X_FORWARDED_FOR | "216.73.217.116"
|
| SSL_TLS_SNI | "studio-lofigirl.com"
|
| HTTPS | "on"
|
| SCRIPT_URI | "https://studio-lofigirl.com/sitemap.xml"
|
| SCRIPT_URL | "/sitemap.xml"
|
| REDIRECT_STATUS | "200"
|
| REDIRECT_SSL_TLS_SNI | "studio-lofigirl.com"
|
| REDIRECT_HTTPS | "on"
|
| REDIRECT_SCRIPT_URI | "https://studio-lofigirl.com/sitemap.xml"
|
| REDIRECT_SCRIPT_URL | "/sitemap.xml"
|
| FCGI_ROLE | "RESPONDER"
|
| PHP_SELF | "/index.php"
|
| REQUEST_TIME_FLOAT | 1779402974.2598
|
| REQUEST_TIME | 1779402974
|