Title: jetpack causes AMP errors
Last modified: December 3, 2020

---

# jetpack causes AMP errors

 *  [cedialogs](https://wordpress.org/support/users/cedialogs/)
 * (@cedialogs)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/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()` (or `
   > amp_is_request()`, formerly `is_amp_endpoint()`) was called too early and so
   > it will not work properly. WordPress is currently doing the `the_content` 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 /home/oberlinc/public_html/wp-
   > includes/functions.php on line 5229
 * Can anyone help untangle this mess? Note: The plugin “AMP for WordPress” was 
   recently uninstalled and replaced by the plugin “AMP”.

Viewing 1 replies (of 1 total)

 *  [JNashHawkins](https://wordpress.org/support/users/jnashhawkins/)
 * (@jnashhawkins)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/jetpack-causes-amp-errors/#post-13742717)
 * Turn off The Relevanssi (sp?) plugin and try whatever you did without it (was
   that a search?).
 * Jetpack may have triggered that but the problem may be something else actually.
 * If need be you might turn off JetPack next when you turn Relevanssi back on and
   then contact the plugin seeming to cause that problem.

Viewing 1 replies (of 1 total)

The topic ‘jetpack causes AMP errors’ is closed to new replies.

## Tags

 * [search error](https://wordpress.org/support/topic-tag/search-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [JNashHawkins](https://wordpress.org/support/users/jnashhawkins/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/jetpack-causes-amp-errors/#post-13742717)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
