We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cef8c08 commit a76ffddCopy full SHA for a76ffdd
src/Errors/ErrorHandler.php
@@ -42,7 +42,7 @@ static function handleError(){
42
43
register_shutdown_function(function(){
44
$error = error_get_last();
45
- if($_ENV['lastError'] == $error){
+ if(array_key_exists('lastError', $_ENV) && $_ENV['lastError'] == $error){
46
return;
47
}
48
$_ENV['lastError'] = $error;
0 commit comments