Title: AMP Error
Last modified: January 8, 2022

---

# AMP Error

 *  Resolved [Denis](https://wordpress.org/support/users/theevoq/)
 * (@theevoq)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/amp-error-37/)
 * Hi esteemed support!
 * I updated the plugin and now my AMP pages are not counting as AMP.
    Google Search
   Console gives this error. AMP is not related to this url.
 * Hi URL: [https://soundsmag.com/top-7-string-guitars/amp/](https://soundsmag.com/top-7-string-guitars/amp/)
 * Checked also here: [https://search.google.com/test/amp/result?id=JlFTCVf0odI4uXvvYXBc1Q&hl=RU](https://search.google.com/test/amp/result?id=JlFTCVf0odI4uXvvYXBc1Q&hl=RU)
 * Also, my buttons are now grayed out, even though they used to be the same color
   as on the regular version of the site.
 * Please help me to solve these problems.
 * Sincerely Denis.
    -  This topic was modified 4 years, 4 months ago by [Denis](https://wordpress.org/support/users/theevoq/).

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

 *  [Fellyph Cintra](https://wordpress.org/support/users/fellyph/)
 * (@fellyph)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/amp-error-37/#post-15231046)
 * Hi [@theevoq](https://wordpress.org/support/users/theevoq/),
 * Thanks for contacting us, I have checked your website, and the component amp-
   analytics is not placed at the amp version; are you using any plugin to add analytics
   tracking code or adding the JSON configuration code?
 * Could you share your UUID to help us with the investigation of your issue?
 * You can find it at, Dashboard > AMP > support.
 *  Thread Starter [Denis](https://wordpress.org/support/users/theevoq/)
 * (@theevoq)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/amp-error-37/#post-15231054)
 * ampwp-db429c94-ec22-5979-8286-97b6707901fa
 * We use the True Lazy Analytics v2.2.17 plugin
 *  [smcorridornews](https://wordpress.org/support/users/smcorridorews/)
 * (@smcorridorews)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/amp-error-37/#post-15231588)
 * Support UUID:ampwp-95aa9b5b-e4db-588b-a75c-65860433592f
 * Hello,
 * We are receiving an error as well. AMP will not allow us to run a scan on the
   site, nor will it create AMP pages. Every page receives the following errors.
   I’ve tried uninstalling and reinstalling the plugin. But it has no affect. I’m
   not entirely sure what I need to do to resolve the issue.
 *     ```
       Call to a member function hasAttribute() on null (0) [Error]
       /home/smcorr5/public_html/wp-content/plugins/amp/vendor/ampproject/amp-toolbox/src/Dom/Document.php:399
   
       #0 /home/smcorr5/public_html/wp-content/plugins/amp/vendor/ampproject/amp-toolbox/src/Dom/Document.php(335): AmpProject\Dom\Document->loadHTMLFragment('<!doctype html>...', Array)
       #1 /home/smcorr5/public_html/wp-content/plugins/amp/vendor/ampproject/amp-toolbox/src/Dom/Document.php(233): AmpProject\Dom\Document->loadHTML('<!doctype html>...', Array)
       #2 /home/smcorr5/public_html/wp-content/plugins/amp/includes/class-amp-theme-support.php(1990): AmpProject\Dom\Document::fromHtml('<!doctype html>...', Array)
       #3 /home/smcorr5/public_html/wp-content/plugins/amp/includes/class-amp-theme-support.php(1753): AMP_Theme_Support::prepare_response('<!doctype html>...')
       #4 [internal function]: AMP_Theme_Support::finish_output_buffering('<!doctype html>...', 9)
       #5 /home/smcorr5/public_html/wp-includes/functions.php(5107): ob_end_flush()
       #6 /home/smcorr5/public_html/wp-includes/class-wp-hook.php(303): wp_ob_end_flush_all('')
       #7 /home/smcorr5/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
       #8 /home/smcorr5/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
       #9 /home/smcorr5/public_html/wp-includes/load.php(1097): do_action('shutdown')
       #10 [internal function]: shutdown_action_hook()
       #11 {main}
       ```
   
 *  [smcorridornews](https://wordpress.org/support/users/smcorridorews/)
 * (@smcorridorews)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/amp-error-37/#post-15231598)
 * Hello,
 * We are receiving an error as well. AMP will not allow us to run a scan on the
   site, nor will it create AMP pages. Every page receives the following errors.
   I’ve tried uninstalling and reinstalling the plugin. But it has no affect. I’m
   not entirely sure what I need to do to resolve the issue.
 * Call to a member function hasAttribute() on null (0) [Error]
    /home/smcorr5/public_html/
   wp-content/plugins/amp/vendor/ampproject/amp-toolbox/src/Dom/Document.php:399
 * #0 /home/smcorr5/public_html/wp-content/plugins/amp/vendor/ampproject/amp-toolbox/
   src/Dom/Document.php(335): AmpProject\Dom\Document->loadHTMLFragment(‘<!doctype
   html>…’, Array)
    #1 /home/smcorr5/public_html/wp-content/plugins/amp/vendor/ampproject/
   amp-toolbox/src/Dom/Document.php(233): AmpProject\Dom\Document->loadHTML(‘<!doctype
   html>…’, Array) #2 /home/smcorr5/public_html/wp-content/plugins/amp/includes/
   class-amp-theme-support.php(1990): AmpProject\Dom\Document::fromHtml(‘<!doctype
   html>…’, Array) #3 /home/smcorr5/public_html/wp-content/plugins/amp/includes/
   class-amp-theme-support.php(1753): AMP_Theme_Support::prepare_response(‘<!doctype
   html>…’) #4 [internal function]: AMP_Theme_Support::finish_output_buffering(‘
   <!doctype html>…’, 9) #5 /home/smcorr5/public_html/wp-includes/functions.php(
   5107): ob_end_flush() #6 /home/smcorr5/public_html/wp-includes/class-wp-hook.
   php(303): wp_ob_end_flush_all(”) #7 /home/smcorr5/public_html/wp-includes/class-
   wp-hook.php(327): WP_Hook->apply_filters(”, Array) #8 /home/smcorr5/public_html/
   wp-includes/plugin.php(470): WP_Hook->do_action(Array) #9 /home/smcorr5/public_html/
   wp-includes/load.php(1097): do_action(‘shutdown’) #10 [internal function]: shutdown_action_hook()#
   11 {main}
 *  [Fellyph Cintra](https://wordpress.org/support/users/fellyph/)
 * (@fellyph)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/amp-error-37/#post-15240287)
 * Hi [@smcorridorews](https://wordpress.org/support/users/smcorridorews/),
 * Thanks for contacting us. Could you open a separate topic for us to check your
   issue separately.
 * Thanks
 *  [Fellyph Cintra](https://wordpress.org/support/users/fellyph/)
 * (@fellyph)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/amp-error-37/#post-15240351)
 * Hi [@theevoq](https://wordpress.org/support/users/theevoq/),
 * Thanks for sending us the UUID, I have tested the pages now they are valid on
   the [AMP Validator](https://search.google.com/test/amp/result?id=murz5e8qE1gaFziXm4xoFQ).
   But your previous log was showing incompatibilities with the Zeen Child theme,
   if the issue still happens I would suggest contacting the theme developers.
 *  [llnaiman](https://wordpress.org/support/users/llnaiman/)
 * (@llnaiman)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/amp-error-37/#post-15242364)
 * Hello, am I in the right place? I am unable to resolve problems in AMP since 
   I updated the plugin or maybe WP itself. I was getting a message about incompatible
   plugins, including Avada Core and Avada builder. These were compatible before
   the update. I suppressed them, but Reader no longer works, so I switched to Transitional,
   but get weird code above the header.
 * I rescanned but get an error message, Tried the Wizard again and it said to choose
   Reader. Now I have this message:There has been a critical error on this website.
 * AMP will not allow me to run a scan on the site.
 * Please help me fix this. FYI I do not know code but I can follow simple instructions
   and copy and paste.
 *  [Fellyph Cintra](https://wordpress.org/support/users/fellyph/)
 * (@fellyph)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/amp-error-37/#post-15243453)
 * Hi [@llnaiman](https://wordpress.org/support/users/llnaiman/),
 * Thanks for contacting us. Sure, you are at the right place. I only request that
   you open a new support topic with your issue to help track your support request.
   If it is possible, could you share your UUID on the new topic and link this comment
   or just copy and paste this message.
 * A quick video how to get the UUID:
 *  [llnaiman](https://wordpress.org/support/users/llnaiman/)
 * (@llnaiman)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/amp-error-37/#post-15246177)
 * Thanks for your reply. I created a new topic here: [https://wordpress.org/support/topic/critical-error-on-my-website-6/#new-topic-0](https://wordpress.org/support/topic/critical-error-on-my-website-6/#new-topic-0)
 *  Thread Starter [Denis](https://wordpress.org/support/users/theevoq/)
 * (@theevoq)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/amp-error-37/#post-15262970)
 * Hello, esteemed support.
 * My amp is still not working. It is displayed on the website, but in GSC it shows
   that the page does not belong to AMP.
 * URL: [https://soundsmag.com/top-compressor-pedals/amp/](https://soundsmag.com/top-compressor-pedals/amp/)
 * ampwp-e8209166-d13d-5066-900e-088c61c008f6
 *  Thread Starter [Denis](https://wordpress.org/support/users/theevoq/)
 * (@theevoq)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/amp-error-37/#post-15263188)
 * I solved the problem.
    I have the plugin All In One WP Security.
 * In it you need to unblock the function blocking false positives GoogleBot and
   everything will work immediately.
 * Thank you very much for your support in helping us make our sites better with
   your plugin.
 *  [Fellyph Cintra](https://wordpress.org/support/users/fellyph/)
 * (@fellyph)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/amp-error-37/#post-15263663)
 * [@theevoq](https://wordpress.org/support/users/theevoq/),
 * Thanks for sharing your solution; I was trying to replicate the issue, but it
   is good to know the all-in-one WP Security was the cause. This information will
   be helpful for us; I will report to the developer team about it.
 * I will close the topic, and feel free to contact us again.
 *  [yasamayavefe](https://wordpress.org/support/users/yasamayavefe/)
 * (@yasamayavefe)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/amp-error-37/#post-15333731)
 * selam ben [yaşam ayavefe](https://www.yasamayavefekim.com/yasam-ayavefe/) sorun
   bendede vardır fakat çözüldü teşekkürler 🙂

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

The topic ‘AMP Error’ is closed to new replies.

 * ![](https://ps.w.org/amp/assets/icon.svg?rev=2527602)
 * [AMP](https://wordpress.org/plugins/amp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amp/)
 * [Active Topics](https://wordpress.org/support/plugin/amp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amp/reviews/)

 * 13 replies
 * 5 participants
 * Last reply from: [yasamayavefe](https://wordpress.org/support/users/yasamayavefe/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/amp-error-37/#post-15333731)
 * Status: resolved