Function amp_is_available
-
I am getting an error on my site:
Notice: Function amp_is_available was called incorrectly.?
amp_is_available()
?(or?amp_is_request()
, formerly?is_amp_endpoint()
) was called too early and so it will not work properly. WordPress is currently doing the?init
?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 plugin with slug?jetpack
?is responsible; please contact the author. Please see Debugging in WordPress for more information. (This message was added in version 2.0.0.) in /var/www/wp-includes/functions.php on line 5835Any ideas what this error means?
Thanks
- The topic ‘Function amp_is_available’ is closed to new replies.