• Resolved kennycr

    (@kennycr)


    Hello,

    The last couple of months I have been with this issue:

    PHP Notice: amp_is_available was called <strong>incorrectly</strong>. amp_is_available() (or amp_is_request(), formerly is_amp_endpoint()) was called too early and so it will not work properly. WordPress is not currently doing any hook. Calling this function before the wp action means it will not have access to WP_Query and the queried object to determine if it is an AMP response, thus neither the amp_skip_post() filter nor the AMP enabled toggle will be considered. It appears the theme with slug gorilla-logic-1 is responsible; please contact the author. Please see <a href="Debugging in WordPress">Debugging in WordPress</a> for more information. (This message was added in version 2.0.0.

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘502 errors with ?amp at the end’ is closed to new replies.