Title: AMP errors everywhere.
Last modified: February 6, 2018

---

# AMP errors everywhere.

 *  Resolved [barbosa78](https://wordpress.org/support/users/barbosa78/)
 * (@barbosa78)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/amp-errors-everywhere/)
 * Hello!
 * As you can see in the images below, I installed and configured the plugin, and
   for some time everything was working very well.
    All of the sudden I started 
   receiving errors from the Google Search Console, one after another, and when 
   I previously had all functioning pages, now almost all had errors.
 * [https://pasteboard.co/H6pGT40.png](https://pasteboard.co/H6pGT40.png)
 * [https://pasteboard.co/H6pH2cm.png](https://pasteboard.co/H6pH2cm.png)
 * Thank you.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Famp-errors-everywhere%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/amp-errors-everywhere/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/amp-errors-everywhere/page/2/?output_format=md)

 *  [Jack](https://wordpress.org/support/users/hifriend/)
 * (@hifriend)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/amp-errors-everywhere/#post-9946029)
 * Me Too.
 * Google Search Console, Received a lot of error reports
 * [https://demo.chevereto.com/images/2018/02/07/BuH.jpg](https://demo.chevereto.com/images/2018/02/07/BuH.jpg)
 *  [LPZ](https://wordpress.org/support/users/mexl/)
 * (@mexl)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/amp-errors-everywhere/#post-9946147)
 * Hi,
    with the latest WordPress update (yesterday) 4.9.4 all of our pages return
   error code 500 on AMP. Any news on that? Thanks, Matt
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/amp-errors-everywhere/#post-9946182)
 * [@barbosa78](https://wordpress.org/support/users/barbosa78/) I’m looking at the
   the validator for one of your posts: [http://www.maisformacao.pt/profissoes-em-vias-extincao-e-a-importancia-das-escolas-profissionais/amp](http://www.maisformacao.pt/profissoes-em-vias-extincao-e-a-importancia-das-escolas-profissionais/amp)
 * Validator: [https://validator.ampproject.org/#url=http%3A%2F%2Fwww.maisformacao.pt%2Fprofissoes-em-vias-extincao-e-a-importancia-das-escolas-profissionais%2Famp](https://validator.ampproject.org/#url=http%3A%2F%2Fwww.maisformacao.pt%2Fprofissoes-em-vias-extincao-e-a-importancia-das-escolas-profissionais%2Famp)
 * I’m seeing that the `<style amp-custom>` tag is getting moved to the body. That’s
   not something that the plugin would be doing but rather I expect it could be 
   done by a caching plugin or something that is trying to do something for performance.
   I see that WP Rocket is active. If you turn it off do you still get validation
   errors?
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/amp-errors-everywhere/#post-9946186)
 * [@hifriend](https://wordpress.org/support/users/hifriend/) [@mexl](https://wordpress.org/support/users/mexl/)
   You’ll need to share the URLs for your sites. Share a couple AMP URLs. If you’re
   getting 500 internal server errors, then you’ll need to look at your PHP error
   log to see what is being logged there. Please share what you find.
 *  [LPZ](https://wordpress.org/support/users/mexl/)
 * (@mexl)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/amp-errors-everywhere/#post-9946216)
 * Hi Weston,
    thank you for the speedy reply. Today Google Search Console is reporting
   the errors. It actually happens on all AMP pages on various domains. E.g. [https://heilfasten-portal.com/fachartikel-fasten/f-x-mayr-kur-im-gesundheitshotel-spanberger-in-groebming.html/amp](https://heilfasten-portal.com/fachartikel-fasten/f-x-mayr-kur-im-gesundheitshotel-spanberger-in-groebming.html/amp)
   or [https://befreie-dich-selbst.com/2018/01/bitte-sei-ehrlich/amp/](https://befreie-dich-selbst.com/2018/01/bitte-sei-ehrlich/amp/)
   or [https://premium-blog.com/2018/neues-von-premium-blog-video-grosses-gewinnspiel/amp/](https://premium-blog.com/2018/neues-von-premium-blog-video-grosses-gewinnspiel/amp/)
   and so on. The validor returns mandatory tag errors on all sites. Please note
   that all were working two days ago (for months). We also use Glue for Yoast SEO&
   AMP on all pages, so it might be that plugin? We use a managed host, I have limited
   access to the servers configuration. I checked the error log but there is no 
   entry. The hosting company might limit the display of PHP errors though… All 
   the best, M
 *  [Jack](https://wordpress.org/support/users/hifriend/)
 * (@hifriend)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/amp-errors-everywhere/#post-9946330)
 * [@westonruter](https://wordpress.org/support/users/westonruter/) [@mexl](https://wordpress.org/support/users/mexl/)
   mexl Said in great detail,Thanks!…
    -  This reply was modified 8 years, 1 month ago by [Jack](https://wordpress.org/support/users/hifriend/).
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/amp-errors-everywhere/#post-9946374)
 * It could be a problem with the Yoast Glue plugin as well, yes. Without being 
   able to see the error that is causing the 500 response, there is very little 
   that can be done to help troubleshoot.
 *  [LPZ](https://wordpress.org/support/users/mexl/)
 * (@mexl)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/amp-errors-everywhere/#post-9946815)
 * Hi Weston,
    an update: I tested it with deactivated Yoast Glue + emptied cache.
   The error is still there. I will ask the Hosting Company for an error log.
 *  Thread Starter [barbosa78](https://wordpress.org/support/users/barbosa78/)
 * (@barbosa78)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/amp-errors-everywhere/#post-9947069)
 * I disabled the plugin and will wait to see the results.
    However I find it strange
   because the two plugins worked in harmony for a while.
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/amp-errors-everywhere/#post-9950388)
 * [@barbosa78](https://wordpress.org/support/users/barbosa78/) You don’t need to
   wait. I can see right away that that deactivating the plugin fixed the issue.
 * See:
    [http://www.maisformacao.pt/profissoes-em-vias-extincao-e-a-importancia-das-escolas-profissionais/amp](http://www.maisformacao.pt/profissoes-em-vias-extincao-e-a-importancia-das-escolas-profissionais/amp)
 * Validation fixed: [https://validator.ampproject.org/#url=http%3A%2F%2Fwww.maisformacao.pt%2Fprofissoes-em-vias-extincao-e-a-importancia-das-escolas-profissionais%2Famp](https://validator.ampproject.org/#url=http%3A%2F%2Fwww.maisformacao.pt%2Fprofissoes-em-vias-extincao-e-a-importancia-das-escolas-profissionais%2Famp)
 * I suggest following up with WP Rocket on what about their plugin is causing a
   problem with AMP. If they come back and say the problem is with the AMP plugin,
   then we can look at the fix from our side.
 * For others on this thread: please open new tickets with the details on the 500
   internal server errors. Internal server errors are very different from the AMP
   validation errors being described by [@barbosa78](https://wordpress.org/support/users/barbosa78/).
 *  [LPZ](https://wordpress.org/support/users/mexl/)
 * (@mexl)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/amp-errors-everywhere/#post-9951297)
 * [@westonruter](https://wordpress.org/support/users/westonruter/)
 * Thanks for the reply. I guess I am not opening another thread, as your hint in
   the last message did the trick! I contacted WP Rocket Support and this is the
   reply:
 * “This should be fixed in 2.11.6 version of WP Rocket. This was caused by our 
   Optimize CSS delivery which was adding the Critical Path CSS before the AMP boilerplate
   snippet on mobile.”
 * Thank you for investigating,
    all the best, Matt
 *  Thread Starter [barbosa78](https://wordpress.org/support/users/barbosa78/)
 * (@barbosa78)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/amp-errors-everywhere/#post-9951624)
 * [@westonruter](https://wordpress.org/support/users/westonruter/)
 * Thank you very much for all your help! 😀
 * Solved my problem! 🙂
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/amp-errors-everywhere/#post-9953513)
 * [@hifriend](https://wordpress.org/support/users/hifriend/) See [https://wordpress.org/support/topic/error-500-with-amp/#post-9953504](https://wordpress.org/support/topic/error-500-with-amp/#post-9953504)
   for follow-up on the 500 error.
 *  [kobe_2104](https://wordpress.org/support/users/kobe_2104/)
 * (@kobe_2104)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/amp-errors-everywhere/#post-9959075)
 * Hi Weston,
 * Happy to create a new ticket but I’m getting the same as above and it is failing
   the validator.
 * 1. “The attribute ‘src’ in tag ‘amp-analytics extension .js script’ is set to
   the invalid value ‘[https://cdn.ampproject.org/v0/amp-analytics-0.1.js&#8217](https://cdn.ampproject.org/v0/amp-analytics-0.1.js&#8217);
   defer=’defer’.”
    2. Only AMP runtime ‘script’ tags are allowed, and only in the
   document head. 3. The mandatory tag ‘amphtml engine v0.js script’ is missing 
   or incorrect.
 * I’ve disabled W3 Caching, Speed Booster Pack, Yoast for AMP Glue. Don’t know 
   what other plugins could be causing it.
 * Any help would be appreciated!
 * One of all the pages with errors is:
    [https://lavorwash.com.au/product/taurus/amp/](https://lavorwash.com.au/product/taurus/amp/)
    -  This reply was modified 8 years, 1 month ago by [kobe_2104](https://wordpress.org/support/users/kobe_2104/).
 *  [kobe_2104](https://wordpress.org/support/users/kobe_2104/)
 * (@kobe_2104)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/amp-errors-everywhere/#post-9959077)
 * Could MonsterInsights be doing it? That’s the only other plug in I could think
   of but wouldn’t think that would be a problem.

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/amp-errors-everywhere/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/amp-errors-everywhere/page/2/?output_format=md)

The topic ‘AMP errors everywhere.’ 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/)

## Tags

 * [WP Rocket](https://wordpress.org/support/topic-tag/wp-rocket/)

 * 16 replies
 * 5 participants
 * Last reply from: [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/amp-errors-everywhere/page/2/#post-9963410)
 * Status: resolved