Conditional query tags do not work before the query is run
-
Thanks for taking over this awesome plugin!
When WP debugging is on, there are multiple errors visible on pages:
Notice: is_singular 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/customer/www/mywebsite.com/public_html/wp-includes/functions.php on line 5775 Warning: Cannot modify header information - headers already sent by (output started at /home/customer/www/mywebsite.com/public_html/wp-includes/functions.php:5775) in /home/customer/www/mywebsite.com/public_html/wp-includes/functions.php on line 1510
My setting is to block the country I’m in and open the website to the rest of the world. But still have access to admin back-end and front-end only if admin is logged in.
Thank you.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Conditional query tags do not work before the query is run’ is closed to new replies.