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/H6pH2cm.png
Thank you.
The page I need help with: [log in to see the link]
-
Me Too.
Google Search Console, Received a lot of error reports
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@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
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?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
or
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/
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@westonruter @mexl mexl Said in great detail,Thanks!…
-
This reply was modified 8 years, 1 month ago by
Jack.
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.
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.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.@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/ampValidation fixed: 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.
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@hifriend See https://wordpress.org/support/topic/error-500-with-amp/#post-9953504 for follow-up on the 500 error.
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’ 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/-
This reply was modified 8 years, 1 month ago by
kobe_2104.
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.
-
This reply was modified 8 years, 1 month ago by
The topic ‘AMP errors everywhere.’ is closed to new replies.