PHP Fatal error with defender
-
Hi all, today we have received a error message from our hosting service provider. Which is related with defender-security. The defender version is 4.9.0, PHP 8.1. We are using WordPress for this site.
2026/04/28 01:40:54 [error] 11824#11824: *119734 FastCGI sent in stderr: “PHP message: PHP Warning: Undefined array key “verify_blocked_user” in /www/XXXXXXX_267/public/wp-content/plugins/defender-security/src/controller/class-firewall.php on line 584PHP message: PHP Warning: Undefined array key “verify_blocked_user” in /www/XXXXXXX_267/public/wp-content/plugins/defender-security/src/controller/class-firewall.php on line 585PHP message: PHP Fatal error: Uncaught TypeError: WP_Defender\Controller::check_route(): Argument #1 ($route) must be of type string, null given, called in /www/XXXXXXX_267/public/wp-content/plugins/defender-security/src/controller/class-firewall.php on line 585 and defined in /www/XXXXXXX_267/public/wp-content/plugins/defender-security/src/class-controller.php:195
We have staging and production environment, that error is happened on production only. We have compared with staging and production’s system environment, all the plug-in and PHP version are the same.
I have reference the threads before which is enable the “OPcache_save_comments” can fix it. But I have other site using the same PHP version but no error.
Any hints for trouble shoot this error? Thank you.
You must be logged in to reply to this topic.