You are declaring the body tag more than once in your page. Also, turn off the minimization so it is easier to see what is going on. Minimisation is almost a waste of time and can lead to errors once it has been cached by google.
I rolled back the plugin to version 0.9.74.1 and everything went fine. Now the pages and post are valid. It simply means there is something wrong in the update – it may be coding issue or non compatibility with some other plugin.
I request plugin author to have a check on this issue as I have seen few other thread too having this sort of issue.
Accelerated Mobile Pages > User-authored JavaScript found on page (Critical issue)
Remove any custom JavaScript code from your page. AMP pages with custom JavaScript may appear in Google search results without AMP-specific display features. Learn more.
Status: 2/25/18
392 AMP pages with issues
Hi @travelgeeky
That’s extremely strange, The update should not cause such issue.
Can you please contact me via https://ampforwp.com/support/ ?
I will personally check and help you fix the issues that you may be having with the latest version.
Hi @mahmoudegypte
Your issue may completely be unrelated to the person who created this topic.
So, kindly share the URL where you are facing the issue so that I can check and help you.