• Please Help!

    Please how do I resolve the following four AMP Error issues as seen in my Google webmaster? These errors are affecting numerous pages of my website, I do NOT know how to fix this. Please someone help me out here..

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

    Error 2: Custom JavaScript is not allowed.

    Error 3: Tag or text which is only allowed inside the body section found outside of the body section.

    Error 4: Disallowed attribute or attribute value present in HTML tag.

    Note: I am using “AMP for WP” – Accelerated Mobile Pages for WordPress By Ahmed Kaludi, Mohammed Kaludi

    Below is one of the pages with such error. Please someone help me with possible solution to this!!

    https://www.fanslite.com/kendall-jenner-frank-ocean-take-ice-cream-ny-city/amp/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Joe

    (@visaflux)

    When I checked further, I guess I was able to see the errors for each of the Errors title as shown below; But the problem is how do I resolve them please??

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

    This seems to be the Error;

    <style amp-custom>

    Error 2: Custom JavaScript is not allowed.

    This seems to be the Error here=>;

    <script async custom-element=”amp-ad” src=”https://cdn.ampproject.org/v0/amp-ad-0.1.js”></script&gt;

    Error 3: Tag or text which is only allowed inside the body section found outside of the body section.

    This seem to be Error here (from the part of the Adsense Code for AMP)

    <amp-ad width=”100vw” height=”320″

    Error 4: Disallowed attribute or attribute value present in HTML tag.

    This seem to be Error here;

    <meta name=”twitter:label1″ value=”Written by”>

    Please how do I resolve all these Error??

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Can you please provide us few screenshots of the issue you are encountering? We will analyze it and let you know.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘AMP Error Issues in Google Webmaster’ is closed to new replies.