Issue with Functions.php on line 6170
-
Hi Folks,
I have just found that I am getting countless of these two error messages since I update to WP 7.0
These are from my debug.log:[27-May-2026 07:11:08 UTC] PHP Notice: Function is_search was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="proxy.php?url=https%3A%2F%2Fdeveloper.wordpress.org%2Fadvanced-administration%2Fdebug%2Fdebug-wordpress%2F">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /xxx/wp-includes/functions.php on line 6170[27-May-2026 07:11:08 UTC] PHP Notice: Function is_404 was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="proxy.php?url=https%3A%2F%2Fdeveloper.wordpress.org%2Fadvanced-administration%2Fdebug%2Fdebug-wordpress%2F">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /xxx/wp-includes/functions.php on line 6170Regards and thanks,
AngusThe page I need help with: [log in to see the link]
You must be logged in to reply to this topic.