Title: Function amp_is_available
Last modified: July 26, 2024

---

# Function amp_is_available

 *  Resolved [summerhui0515](https://wordpress.org/support/users/summerhui0515/)
 * (@summerhui0515)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/function-amp_is_available-2/)
 * 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 `load_script_textdomain_relative_path`
   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/maxc5j12129m/public_html/moshicellar.com/
   wp-includes/functions.php on line 6085
 * Any ideas what this error means?
 * I have already use the Health Check & Triubleshooting plugin, checked all plugins
   and theme. But the issue is stilll here.
 * Steps that I have done: [https://jetpack.com/support/troubleshooting-plugin-and-theme-conflicts/](https://jetpack.com/support/troubleshooting-plugin-and-theme-conflicts/)
 * How can I solve this issue?
 * Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffunction-amp_is_available-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Enej Bajgorić](https://wordpress.org/support/users/enej/)
 * (@enej)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/function-amp_is_available-2/#post-17915893)
 * Hi [summerhui0515](https://wordpress.org/support/users/summerhui0515/)
 * `amp_is_available`() function is not part of the Jetpack plugins.
 * 
   If you don’t need AMP support I would suggest disabling the AMP Plugin. The 
   code that is generating this message can be found in the AMP Plugin – see [https://github.com/ampproject/amp-wp/blob/1350e8b3d5f6dd61c0b329499f32b67a123de922/includes/amp-helper-functions.php#L375](https://github.com/ampproject/amp-wp/blob/1350e8b3d5f6dd61c0b329499f32b67a123de922/includes/amp-helper-functions.php#L375)
 * It sounds like there might be some other code that calls the function at the 
   wrong time.
 * Hope this is info helpful.
 *  Thread Starter [summerhui0515](https://wordpress.org/support/users/summerhui0515/)
 * (@summerhui0515)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/function-amp_is_available-2/#post-17916240)
 * Thank you for your reply!
 * I have already disabled and deleted the AMP Plugin, but the error notice still
   appears.
 * I do not know coding and I do not understand the codes in the link you provided….
 * What should I do now to get my website running? What is the next step I should
   do?
 * Thank you so much!
 *  Plugin Contributor [Stef (a11n)](https://wordpress.org/support/users/erania-pinnera/)
 * (@erania-pinnera)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/function-amp_is_available-2/#post-17919727)
 * Hi [@summerhui0515](https://wordpress.org/support/users/summerhui0515/),
 * It looks like you have other plugins active on your site, and possibly one of
   them is still calling that function that’s erroring.
 * Can you please temporarily deactivate all your plugins and check if the problem
   gets fixed that way? If it works, then reactivate each plugin one by one to find
   out which one is triggering the error.
 * Let us know what you find out!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Function amp_is_available’ is closed to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Stef (a11n)](https://wordpress.org/support/users/erania-pinnera/)
 * Last activity: [1 year, 10 months ago](https://wordpress.org/support/topic/function-amp_is_available-2/#post-17919727)
 * Status: resolved