• Resolved MTD

    (@espider)


    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.

    • This topic was modified 2 years, 6 months ago by MTD.
    • This topic was modified 2 years, 6 months ago by MTD.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Darko G.

    (@darkog)

    Hey @espider

    Do you think this problem was caused by IP Location BLock? Can you try deactivating the plugin and see if it still happens?

    I will be looking as well.

    Thanks,
    Darko

    Thread Starter MTD

    (@espider)

    Hi Darko,

    Yes, the problem is only caused the previous and the current plugin. After deactivating the plugin, the issue is gone.

    Thank you.

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.