I activated the AMP using your guide.
In the them panel–> mobile settings, I activated the Mobile + AMP use-
Now, all my websites, all with newspaper have an issue with the search console of google.
The issues in the google search console are:
1) The tag ‘noscript enclosure for boilerplate’ appears more than once in the document.
2) Only amp-boilerplate and amp-custom ‘style’ tags are allowed, and only in the document head.
What is wrong? The performance are actually improved, but in 24h I received this issue.
Can you help me? Thank you
https://www.miglioridea.it
https://www.giochi-da-tavolo.it/
https://letslove.it/
For example, for this website https://petadvisor.it/
I have 5 affected pages
https://petadvisor.it/cucce-cani-interno/?amp
https://petadvisor.it/gatti-senza-pelo/?amp
https://petadvisor.it/cani-piccola-taglia/?amp
https://petadvisor.it/gabbia-per-cani/?amp
https://petadvisor.it/guinzaglio-per-cani/?amp
this is actually important.
IT LOOK AS WP BAKERY DO NOT WORK WITH THE AMP PLUGIN
I use Newspaper theme version 9.7.2.
The theme has installed some plugins from TagDiv such as: 1. “tagDiv Composer”, 2.”tagDiv Mobile Theme”, 3. “tagDiv Speed Booster”, 4. “WPBakery Page Builder”. The last one I think is the one that create that strange sytle, so I deactivated it.
Consider that Google says it will take several days to check. So if you think this could be the problem I can ask google to validate.
Here you can find exact Google error:
for the page
https://petadvisor.it/cucce-cani-interno/?amp
1) “The tag ‘noscript enclosure for boilerplate’ appears more than once in the document”
and the error highlighted by the google search console is:
><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript></head><body class=”post-template-default single single-post postid-402 single-format-standard wpb-js-composer js-comp-ver-5.7 vc_responsive” itemscope=”itemscope” itemtype=”https://schema.org/WebPage”>
2) “Only amp-boilerplate and amp-custom ‘style’ tags are allowed, and only in the document head.”
and the error in the search console is
><style type=”text/css”> .wpb_animate_when_almost_visible { opacity: 1; }</style></noscript><style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript></head><body class=”post-template-default single single-post postid-402 single-format-standard wpb-js-composer js-comp-ver-5.7 vc_responsive” itemscope=”itemscope” itemtype=”https://schema.org/WebPage”>
Please give me any advice. I have 5 website with this error!
Hi,
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, please deactivate them, clear all cache and try again.
Please make sure that all the settings are like in our requirements, please follow the guide carefully
– https://forum.tagdiv.com/requirements-for-newspaper/
and please increase all requirements that are lower, and follow all steps.
If the problem is still there, please delete( delete the theme plugins too, do not override ) the current version of Newspaper that you have and download again from themefores the newspaper and reinstall it.
Also please check this topic about amp problem -> https://forum.tagdiv.com/topic/amp-problem-5/
Thank you!