• HTML Event attributes, aka ‘on*’, are not allowed in AMP Instead use ‘amp-bind’
    Failed
    22
    Error
    Disallowed attribute or attribute value present in HTML tag
    Failed
    22
    Error
    The tag ‘img’ should be replaced with an equivalent ‘amp-img’ tag
    8
    Error
    Malformed URL found for attribute ‘href’ in tag ‘a’
    8
    Error
    A mandatory attribute is missing from an HTML tag
    8
    Error
    A tag on this page requires an AMP component ‘script’ tag, which is missing
    8
    Error
    Only amp-boilerplate and amp-custom ‘style’ tags are allowed, and only in the document head
    8
    Error
    Custom JavaScript is not allowed
    8
    Error
    External stylesheets not supported, except for whitelisted font providers Use the document inline ‘style amp-custom’ tag instead
    8
    Error
    A mandatory AMP HTML tag is missing from this document
    4

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Pascal Birchler

    (@swissspidy)

    Hi there

    Would you mind sharing the URL of your site where this happens?

    The plugin sanitizes most issues, so if you see these errors in Search Console, it sounds like you were not validating the AMP version but instead the non-AMP version.

    But we’d need the URL to be able to verify this.

    Thread Starter Eugene.chint

    (@eugenechint)

    yeah sure

    • This reply was modified 7 years, 3 months ago by Eugene.chint.
    Thread Starter Eugene.chint

    (@eugenechint)

    As have started working on seo these errors will dent it

    Thread Starter Eugene.chint

    (@eugenechint)

    http://www.akruticlinic.in

    • This reply was modified 7 years, 3 months ago by Eugene.chint.
    Plugin Author Pascal Birchler

    (@swissspidy)

    How are you integrating AMP on your site? It looks like you are using our plugin in Classic Mode, but at the same time are integrating AMP manually in your theme.

    Looking at an example page in Classic mode by appending ?amp to the URL, I see lots of custom JavaScript being loaded, for example for a chat widget. These are not allowed in AMP.

    Also, a caching plugin you are using seems to be adding lots of onload and defer attributes that are not allowed either.

    I highly recommend you to read the AMP documentation at https://www.ampproject.org/docs/, as well as the documentation on our plugin website at https://amp-wp.org/documentation/ to learn more about what it takes to make a website AMP-compatible.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Errors list using plugin on gconsole’ is closed to new replies.