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 an outspoken good ole southern boy. Fidonet computer bulletin board system operator, hobbyist webmaster, and MAGA blogger. Just hanging out in cyberspace keeping up with tech, 'blogging my opinion' without beating around the bush!