• Notice: is_embed 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/trailerz/public_html/demo/wp-includes/functions.php on line 4773

    Notice: is_feed 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/trailerz/public_html/demo/wp-includes/functions.php on line 4773

    Notice: is_amp_endpoint was called incorrectly. is_amp_endpoint() was called before the parse_query hook was called. Please see Debugging in WordPress for more information. (This message was added in version 0.4.2.) in /home/trailerz/public_html/demo/wp-includes/functions.php on line 4773

    Notice: is_amp_endpoint was called incorrectly. is_amp_endpoint() was called before the WP_Query was instantiated. Please see Debugging in WordPress for more information. (This message was added in version 1.1.) in /home/trailerz/public_html/demo/wp-includes/functions.php on line 4773

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • @ampninja While the error is not coming from the plugin itself there could be a theme or plugin causing the notices you see. Can you test out another theme for the same errors, along with deactivating your plugins one by one. Here is an example of such a notice in WP Rig, which was resolved via a theme update.

    Thread Starter Nazmul Akanda

    (@ampninja)

    @jamesosborne Thanks for the answer… Actually I checked and found these 4 warnings related to AMP plugin.. When I disable AMP plugin all these notice are not coming up..
    is_embed
    is_feed
    is_amp_endpoint
    I am pretty sure all the functions were called from AMP plugin and need to fix that.

    Plugin Author Weston Ruter

    (@westonruter)

    @ampninja A theme or plugin is likely calling is_amp_endpoint() too early. Please look throughout your active theme and plugins for instances of that function being called. Please share also a list of your active theme and plugins.

    Thread Starter Nazmul Akanda

    (@ampninja)

    @westonruter Thanks for your suggestion… I will check with other plugins and let you know 🙂 Thanks!

    i am getting this notice too
    any idea ?

    this is not solution to disable all other plugins and change theme cant you make it compatible with others ?

    Plugin Author Pascal Birchler

    (@swissspidy)

    @zeeshanmudassir No-one suggested disabling all plugins. Please open a separate support topic for your case and share the URL to your site as well as the Site Health information.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Getting Notice and Warning when I check with WP Debug True’ is closed to new replies.