jetpack causes AMP errors
-
Jetpack is fingered by AMP for causing the following error message when the relevanssi plugin is used to search a WordPress blog:
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 thethe_contenthook. 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 slugjetpackis responsible; please contact the author. Please see Debugging in WordPress for more information. (This message was added in version 2.0.0.) in /home/oberlinc/public_html/wp-includes/functions.php on line 5229Can anyone help untangle this mess? Note: The plugin “AMP for WordPress” was recently uninstalled and replaced by the plugin “AMP”.
The topic ‘jetpack causes AMP errors’ is closed to new replies.