If you’ve noticed your WordPress website AMP Pages are showing critical errors in Google Webmaster Tools don’t worry. The AMP errors were caused by Automattic’s Amp plugin after a recent upgrade, that’s since been fixed.
Apparently after it’s previous update the amp plugin was not stripping out <script> and </script> commands in the html code. That’s a big no-no to Google.
Automattic updated it’s amp plugin that cured this problem. We are posting this for reference in case some are still having the problem.
To fix this on your WordPress website log into your admin panel and click on updates. WordPress should prompt you to update the amp plugin.
Or you can download it here from the wp plugin repository. Use this Google AMP testing tool to verify your pages are compliant. The errors should fall off Google’s webmaster tools amp display in a few days or so.
That should be the cure if you had no errors recently and were shocked to all-of-the-sudden see massive errors.
I'm a retired auto dealer (trust-me) and ASE cert technician. Fidonet BBS system operator (sysop) of doc's place computer bulletin board system, online since 1991. Net hobbyist turned webmaster and blogger sick of being censored by big tech and social media. What I blog is credible, and is my personal opinion on the subject!