• I find in my debug.log a lot of PHP notices like this:

    [26-May-2020 17:56:46 UTC] PHP Notice: is_404 was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /home/www/xxxxxx/wp-includes/functions.php on line 5167
    [26-May-2020 17:56:46 UTC] PHP Stack trace:
    [26-May-2020 17:56:46 UTC] PHP 1. {main}() /home/www/xxxxxx/index.php:0

    (…)

    [26-May-2020 17:56:46 UTC] PHP 14. hub_ract_metrics->hub_ract_record_404() /home/www/xxxxxx/wp-includes/class-wp-hook.php:287
    [26-May-2020 17:56:46 UTC] PHP 15. is_404() /home/www/xxxxxx/wp-content/plugins/ranking-and-competitor-tracking/class.ranking-and-competitor-tracking.php:505

    Any idea how to solve this issue?

  • The topic ‘A lot of PHP notices in debug.log’ is closed to new replies.