Fatal error 500 : Uncaught Error: Undefined constant “AUTH_COOKIE”
-
Enabling Security plugin breaks site with error 500:
Uncaught Error: Undefined constant “AUTH_COOKIE” in /data/sites/web/xxxxxxx/www/wp-includes/pluggable.php:932
-
PHP 8.2
WordPress 6.5.4 Multisite setup
Hello @cedericvh,
Thank you for the information.
Please give us 2-3 business days for investigation.
We’ll get back to you as soon as we have any news.
Could you add a stack trace of the error? This can be found in the php error logs.
If you don’t have logging enabled, this article will help you. Once enabled, you need to get the error to appear again and look at the log.
[18-Jun-2024 11:41:46 UTC] PHP Fatal error: Uncaught Error: Undefined constant “SECURE_AUTH_COOKIE” in /data/sites/web/footcarenews/www/wp-includes/pluggable.php:929
Stack trace: 0 /data/sites/web/footcarenews/www/wp-includes/pluggable.php(694): wp_parse_auth_cookie(false, ”) 1 /data/sites/web/footcarenews/www/wp-includes/class-wp-hook.php(324): wp_validate_auth_cookie(false) 2 /data/sites/web/footcarenews/www/wp-includes/plugin.php(205): WP_Hook->apply_filters(false, Array) 3 /data/sites/web/footcarenews/www/wp-includes/user.php(3632): apply_filters(‘…’, false) 4 /data/sites/web/footcarenews/www/wp-includes/pluggable.php(70): _wp_get_current_user() 5 /data/sites/web/footcarenews/www/wp-content/plugins/security-malware-firewall/lib/CleantalkSP/SpbctWP/Firewall/TC.php(294): wp_get_current_user() 6 /data/sites/web/footcarenews/www/wp-content/plugins/security-malware-firewall/lib/CleantalkSP/SpbctWP/Firewall/TC.php(88): CleantalkSP\SpbctWP\Firewall\TC->checkIsAdmin() 7 /data/sites/web/footcarenews/www/wp-content/plugins/security-malware-firewall/security-malware-firewall.php(611): CleantalkSP\SpbctWP\Firewall\TC->__construct(Array) 8 /data/sites/web/footcarenews/www/wp-content/plugins/security-malware-firewall/security-malware-firewall.php(208): spbc_firewall__check() 9 /data/sites/web/footcarenews/www/wp-settings.php(462): include_once(‘…’) 10 /data/sites/web/footcarenews/www/wp-config.php(156): require_once(‘…’) 11 /data/sites/web/footcarenews/www/wp-load.php(50): require_once(‘…’) 12 /data/sites/web/footcarenews/www/wp-blog-header.php(13): require_once(‘…’) 13 /data/sites/web/footcarenews/www/index.php(17): require(‘…’) 14 {main}thrown in /data/sites/web/footcarenews/www/wp-includes/pluggable.php on line 929
[18-Jun-2024 11:41:46 UTC] PHP Fatal error: Uncaught Error: Undefined constant “SECURE_AUTH_COOKIE” in /data/sites/web/footcarenews/www/wp-includes/pluggable.php:929
Stack trace: 0 /data/sites/web/footcarenews/www/wp-includes/pluggable.php(694): wp_parse_auth_cookie(false, ”) 1 /data/sites/web/footcarenews/www/wp-includes/class-wp-hook.php(324): wp_validate_auth_cookie(false) 2 /data/sites/web/footcarenews/www/wp-includes/plugin.php(205): WP_Hook->apply_filters(false, Array) 3 /data/sites/web/footcarenews/www/wp-includes/user.php(3632): apply_filters(‘…’, false) 4 /data/sites/web/footcarenews/www/wp-includes/pluggable.php(70): _wp_get_current_user() 5 /data/sites/web/footcarenews/www/wp-includes/pluggable.php(1163): wp_get_current_user() 6 /data/sites/web/footcarenews/www/wp-includes/functions.php(1493): is_user_logged_in() 7 /data/sites/web/footcarenews/www/wp-includes/functions.php(1534): wp_get_nocache_headers() 8 /data/sites/web/footcarenews/www/wp-includes/functions.php(3839): nocache_headers() 9 /data/sites/web/footcarenews/www/wp-includes/functions.php(3785): _default_wp_die_handler(‘…’, ‘…’, Array) 10 /data/sites/web/footcarenews/www/wp-includes/class-wp-fatal-error-handler.php(241): wp_die(Object(WP_Error), ”, Array) 11 /data/sites/web/footcarenews/www/wp-includes/class-wp-fatal-error-handler.php(156): WP_Fatal_Error_Handler->display_default_error_template(Array, false) 12 /data/sites/web/footcarenews/www/wp-includes/class-wp-fatal-error-handler.php(60): WP_Fatal_Error_Handler->display_error_template(Array, false) 13 [internal function]: WP_Fatal_Error_Handler->handle() 14 {main}Thank you. We’ll respond to you asap.
Hello,
Reinstalling the plugin should solve the problem. Please follow this guide to reinstall the plugin:
https://cleantalk.org/help/update-wordpress-security
Does it work?
Hi,
it works now temporary.
I installed the previous version of the plugin. (security-malware-firewall.2.134.3.zip)
Because a normal re?nstall did not fix the issue.Can you investigate this further. Because upgrading doesn’t work now.
Hello @cedericvh,
Please contact us via our private Ticket System for further investigation:
https://cleantalk.org/my/support/open.
Thank you.
Hello, @cedericvh
Today we released a new version of the plugin with fixes.
Please follow this guide to update the plugin:
https://cleantalk.org/help/update-wordpress-security
Does it help?
Hello.
We haven’t heard back from you in a few days, so I’m going to mark this topic as “resolved”.
If you have any further questions, you can start a new topic or contact us via our private Ticket System:?https://cleantalk.org/my/support/open.
- The topic ‘Fatal error 500 : Uncaught Error: Undefined constant “AUTH_COOKIE”’ is closed to new replies.