PHP Error with amp compatibility
-
Hi there,
I’m getting this error every couple of seconds in my debug.log file. Can anyone help me with how to fix it?PHP Notice amp_is_available was called incorrectly.amp_is_available()(oramp_is_request(), formerlyis_amp_endpoint()) was called too early and so it will not work properly. WordPress is currently doing theshutdownhook. Calling this function before thewpaction means it will not have access toWP_Queryand the queried object to determine if it is an AMP response, thus neither theamp_skip_post()filter nor the AMP enabled toggle will be considered. It appears the plugin with slugwebp-expressis responsible; please contact the author. Pl
The topic ‘PHP Error with amp compatibility’ is closed to new replies.