Minor Error in My Logs
-
I get two errors in rapid succession, undefined constant SECURE_AUTH_COOKIE in pluggable.php and undefined constant LOGGED_IN_COOKIE in user.php
“… Use of undefined constant LOGGED_IN_COOKIE – assumed ‘LOGGED_IN_COOKIE’ (this will throw an Error in a future version of PHP) in /usr/share/nginx/public/wp-includes/user.php on line 355”
It seems function cerber_error_shield() is checking for these cookies before they are defined. It’s not a big deal to me because I’m pretty sure these are from attacker requests, so if they get fatal crashes with php 8 then so be it.
Here is my stack trace:
Array
(
[0] => Array
(
[file] => /usr/share/nginx/public/wp-includes/class-wp-hook.php
[line] => 287
[function] => wp_validate_logged_in_cookie
[args] => Array
(
[0] =>
))
[1] => Array
(
[file] => /usr/share/nginx/public/wp-includes/plugin.php
[line] => 206
[function] => apply_filters
[class] => WP_Hook
[type] => ->
[args] => Array
(
[0] =>
[1] => Array
(
[0] =>
))
)
[2] => Array
(
[file] => /usr/share/nginx/public/wp-includes/user.php
[line] => 2792
[function] => apply_filters
[args] => Array
(
[0] => determine_current_user
[1] =>
))
[3] => Array
(
[file] => /usr/share/nginx/public/wp-includes/pluggable.php
[line] => 70
[function] => _wp_get_current_user
[args] => Array
(
))
[4] => Array
(
[file] => /usr/share/nginx/public/wp-includes/pluggable.php
[line] => 1034
[function] => wp_get_current_user
[args] => Array
(
))
[5] => Array
(
[file] => /usr/share/nginx/public/wp-content/plugins/wp-cerber/cerber-load.php
[line] => 6033
[function] => is_user_logged_in
[args] => Array
(
))
[6] => Array
(
[file] => /usr/share/nginx/public/wp-content/plugins/wp-cerber/cerber-load.php
[line] => 6021
[function] => cerber_error_shield
[args] => Array
(
[0] => 1
))
[7] => Array
(
[function] => {closure}
[args] => Array
(
))
)
- The topic ‘Minor Error in My Logs’ is closed to new replies.