AMP issue after theme update

Posted in: Newspaper
Post count: 7

Hi, I updated theme day before yesterday and my website started with amp error: “The mandatory tag ‘head > style[amp-boilerplate]’ is missing or incorrect.”.
I have checked “USE MOBILE THEME FOR: Mobile + AMP” in mobile theme option and using official AMP plugin.
All the pages are fetching this error e. g. this page
Thanks

Post count: 7

Waiting for your kind reply. My webmaster account is continuously marking AMP error.

Post count: 35449

Hi,

This problem is usually caused by some plugins that create some conflict ( untested plugins), please deactivate all non theme plugins, also if you are using child theme ( or cache plugin ), clear all cache deactivate the cache/child plugin and try again.
Please make sure that you set the amp like in our documentation
How to Make an AMP Ready Website with Newspaper Theme -> https://tagdiv.com/amp-newspaper-theme/
Mobile Theme: Automatic Optimization for Mobile with Newspaper Theme -> https://tagdiv.com/mobile-theme-automatic-optimization-for-mobile-newspaper-theme/
-> https://validator.ampproject.org/
Also please check some similar topics -> https://forum.tagdiv.com/topic/amp-problem-4/

Thank you!

Post count: 7

Thank you Calin. WordPress Autoptimize plugin was causing error.

Post count: 12
Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.