Jetpack bug interacting with Relevanssi, AMP
-
When using the search widget in https://www.oberlinchaos.com the following 3-way interaction occurs between Jetpack, AMP, and Relevanssi search:
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_content
hook. Calling this function before thewp
action means it will not have access toWP_Query
and 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 slugjetpack
is 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 5229Disabling jetpack makes the bug go away when Relevanssi is activated, and disabling Relevanssi with JetPack activated also makes the bug go away. When both plugins are activated the bug appears. What on earth could be making these 3 plugins interact in this way?
The page I need help with: [log in to see the link]
- The topic ‘Jetpack bug interacting with Relevanssi, AMP’ is closed to new replies.