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,
I remember seeing this happen for some users, when they activated the WPBakery plugin. While others have WPBakery active and AMP is valid. Maybe it is happening in specific cases only.
I believe this is added on our testing list, to try and identify the problem.
Could be something between the AMP and WPBakery plugin however, the code that might be causing it is in the plugin – http://prntscr.com/nrdbjp
Thanks