Amp Implementation Errors despite theme support full transitional mode
-
I am receiving Amp Implementation Errors despite theme support full transitional mode using a newspaper theme with Tagdiv mobile plugin which is fully compatible in the transitional mode. Can you please check what’s the issue? I have tried to suppress related plugins still it did not fix the issue.
Site: Omnitos
The page I need help with: [log in to see the link]
-
Our primary investigation suggests that you don’t have any validation error, you can check the same on AMP validator site,
Also, it’s normal to have validation errors in plugins (AMP plugins) validation tool, if you are using an incompatible plugin or feature the AMP plugin automatically validates and removes them for you.
If you would like to share any details on a specific validation error, please send us details with your site health information using this form to investigate further.
-
This reply was modified 2 years, 2 months ago by
Milind More.
Submitted the for, still facing the error in every article latest link: https://omnitos.com/higurashi-when-they-cry-episode-7-release-date-and-preview/
As per our previous reply, we did not face any validation issues on the latest URL you shared, can you please try to revalidation of the page, You can refer this guide for more information.
-
This reply was modified 2 years, 2 months ago by
Milind More.
I have tried all of my pages still show that my pages are not valid
What errors are you seeing? Where are you seeing them?
Checking this page: https://omnitos.com/promised-neverland-season-2-release-date-confirmed/?amp shows no errors.
Shows no errors. Note the
?amp
query parameter at the end of the URL. Please ensure you are validating the AMP pages of your site as opposed to the non-AMP version.@albertomedina see this screenshot:
https://prnt.sc/vg8yd4Sorry, I don’t see any error reporting in that screenshot.
See in this I have cropped it: https://prnt.sc/vg97rm
Search term: Black Clover Chapter 272
Got it.
The error indicates there is a script tag included, which is not allowed. Specifically, it seems you are using the WP Fastest Cache plugin:
<script data-wpfc-render="false">var Wpfcll={s:[],osl:0,scroll:false,i:function(){Wpfcll.ss();window.addEventListener('load',function(){window.addEventListener("DOMSubtreeModified",function(e){Wpfcll.osl=Wpfcll.s.length;Wpfcll.ss();if(Wpfcll.s.length > Wpfcll.osl){Wpfcll.ls(false);}},false);Wpfcll.ls(true);});window.addEventListener('scroll',function(){Wpfcll.scroll=true;Wpfcll.ls(false);});window.addEventListener('resize',function(){Wpfcll.scroll=true;Wpfcll.ls(false);});window.addEventListener('click',function(){Wpfcll.scroll=true;Wpfcll.ls(false);});},c:function(e,pageload){var w=document.documentElement.clientHeight || body.clientHeight;var n=0;if(pageload){n=0;}else{n=(w > 800) ? 800:200;n=Wpfcll.scroll ? 800:n;}var er=e.getBoundingClientRect();var t=0;var p=e.parentNode ? e.parentNode:false;if(typeof p.getBoundingClientRect=="undefined"){var pr=false;}else{var pr=p.getBoundingClientRect();}if(er.x==0 && er.y==0){for(var i=0;i < 10;i++){if(p){if(pr.x==0 && pr.y==0){if(p.parentNode){p=p.parentNode;}if(typeof p.getBoundingClientRect=="undefined"){pr=false;}else{pr=p.getBoundingClientRect();}}else{t=pr.top;break;}}};}else{t=er.top;}if(w - t+n > 0){return true;}return false;},r:function(e,pageload){var s=this;var oc,ot;try{oc=e.getAttribute("data-wpfc-original-src");ot=e.getAttribute("data-wpfc-original-srcset");if(s.c(e,pageload)){if(oc || ot){if(e.tagName=="DIV" || e.tagName=="A"){e.style.backgroundImage="url("+oc+")";e.removeAttribute("data-wpfc-original-src");e.removeAttribute("data-wpfc-original-srcset");e.removeAttribute("onload");}else{if(oc){e.setAttribute('src',oc);}if(ot){e.setAttribute('srcset',ot);}if(e.getAttribute("alt") && e.getAttribute("alt")=="blank"){e.removeAttribute("alt");}e.removeAttribute("data-wpfc-original-src");e.removeAttribute("data-wpfc-original-srcset");e.removeAttribute("onload");if(e.tagName=="IFRAME"){e.onload=function(){if(typeof window.jQuery !="undefined"){if(jQuery.fn.fitVids){jQuery(e).parent().fitVids({customSelector:"iframe[src]"});}}var s=e.getAttribute("src").match(/templates\/youtube\.html\#(.+)/);var y="https://www.youtube.com/embed/";if(s){try{var i=e.contentDocument || e.contentWindow;if(i.location.href=="about:blank"){e.setAttribute('src',y+s[1]);}}catch(err){e.setAttribute('src',y+s[1]);}}}}}}else{if(e.tagName=="NOSCRIPT"){if(jQuery(e).attr("data-type")=="wpfc"){e.removeAttribute("data-type");jQuery(e).after(jQuery(e).text());}}}}}catch(error){console.log(error);console.log("==>",e);}},ss:function(){var i=Array.prototype.slice.call(document.getElementsByTagName("img"));var f=Array.prototype.slice.call(document.getElementsByTagName("iframe"));var d=Array.prototype.slice.call(document.getElementsByTagName("div"));var a=Array.prototype.slice.call(document.getElementsByTagName("a"));var n=Array.prototype.slice.call(document.getElementsByTagName("noscript"));this.s=i.concat(f).concat(d).concat(a).concat(n);},ls:function(pageload){var s=this;[].forEach.call(s.s,function(e,index){s.r(e,pageload);});}};document.addEventListener('DOMContentLoaded',function(){wpfci();});function wpfci(){Wpfcll.i();}</script>
You can either disable that plugin or configure it to ensure it does not add script tags.
@omnitos As we didn’t receive a response I will mark this as resolved. Feel free to open a new support topic if you continue to encounter issues.
-
This reply was modified 2 years, 2 months ago by
- The topic ‘Amp Implementation Errors despite theme support full transitional mode’ is closed to new replies.