diff --git a/adminer/include/errors.inc.php b/adminer/include/errors.inc.php index f27ed108..d9cc99fd 100644 --- a/adminer/include/errors.inc.php +++ b/adminer/include/errors.inc.php @@ -3,5 +3,5 @@ namespace Adminer; error_reporting(24575); // all but E_DEPRECATED (overriding mysqli methods without types is deprecated) set_error_handler(function ($errno, $errstr) { - return !!preg_match('~^(Trying to access array offset on( value of type)? null|Undefined (array key|property))~', $errstr); + return !!preg_match('~^(Trying to access array offset on( value of type)? null|Undefined array key)~', $errstr); }, E_WARNING | E_NOTICE); // warning since PHP 8.0