Getting a lot of AMP Erorrs

Posted in: Newspaper
Post count: 1

Hi there, I am not sure what is wrong with my AMP settings but I started to see a lot of errors in my google console regarding AMP after I activated that option.
Here is my site: https://Sportige.com

I get these errors:
Error Only amp-boilerplate and amp-custom ‘style’ tags are allowed, and only in the document head.

Not Started
1,891
Error Custom JavaScript is not allowed.

Not Started
Error External stylesheets not supported, except for whitelisted font providers. Use the document inline ‘style amp-custom’ tag instead.

Not Started
30
Error AMP HTML Tag has an invalid layout specified by its attributes.

Any idea what is wrong? I followed the guidelines and can’t understand why this is happening.

Thanks for the help!

Post count: 35449

Hello,

Please make sure that you do not have a plugin conflict, please deactivate ALL non theme plugins, also if you are using child theme or cache plugin, deactivate them, clear all cache and try again.
Also make sure that you are using the amp with mobile theme plugin, with one of these options -> https://prnt.sc/pb4z2p

Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.