• I just enabled debug.log and got this error:
    PHP Notice: is_embed called <strong>incorrectly</strong>. Conditional query tags don't work before the query is run. Previously, they always returned false. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging di WordPress</a> to see more info. (This message was added in version 3.1.0.) in /home/u4384288/public_html/wp-includes/functions.php on line 5313

    How to fix it?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • You have to figure out where is_embed is being called. I would look at the theme first.
    You can use the Health Check plugin in Troubleshoot mode to disable theme and plugins for your user only, so you can isolate the code.
    Once you find it, you can ask at the support forum for the theme or plugin, because that code is running too soon (before the main query is run).

    Thread Starter Mushlih Almubarak

    (@mushlih)

    Ok, thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘is_embed called incorrectly’ is closed to new replies.