PHP Notices & Errors type 503
-
Hello,
I use WordPress since several years.
For the first time, and since just before updating my website to WordPress 5.7, my website has encountered errors type 503
I have deactivated all the plugins and seen that my website is ok without any activated plugin.
I have started to activate plugins one by one regarding the php debug log file.
I have seen that some plugins generates PHP notices and more there’s more my website is down.
PHP notices are often like:
[04-Apr-2021 01:23:03 UTC] PHP Notice: is_embed 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="https://www.ads-software.com/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /home2/leol2108/public_html/wp-includes/functions.php on line 5313 [04-Apr-2021 01:23:03 UTC] PHP Notice: 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="https://www.ads-software.com/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /home2/leol2108/public_html/wp-includes/functions.php on line 5313 [04-Apr-2021 03:22:25 UTC] PHP Notice: is_embed 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="https://www.ads-software.com/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /home2/leol2108/public_html/wp-includes/functions.php on line 5313 [04-Apr-2021 03:22:25 UTC] PHP Notice: 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="https://www.ads-software.com/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in .../wp-includes/functions.php on line 5313 [04-Apr-2021 05:23:54 UTC] PHP Notice: is_embed 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="https://www.ads-software.com/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in .../wp-includes/functions.php on line 5313 [04-Apr-2021 05:23:54 UTC] PHP Notice: 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="https://www.ads-software.com/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in .../wp-includes/functions.php on line 5313 [04-Apr-2021 06:11:34 UTC] PHP Notice: Trying to get property 'post_type' of non-object in .../wp-includes/class-wp-query.php on line 4196 [04-Apr-2021 06:11:34 UTC] PHP Notice: Trying to get property 'post_type' of non-object in .../wp-includes/class-wp-query.php on line 4196
For each plugin I use which generate php notices, I have started to send a message but is it really the solution???
Regards,
Olivier
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP Notices & Errors type 503’ is closed to new replies.