• Hi,
    I’m having multiple errors on the Google Console for AMP. One of them is: Tag found outside the document head which is only allowed as a direct child of the document head.
    I don’t know if this is caused by the lazyloading option on the image optimizer. Thanks for your help.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’m getting a similar issue, in Google Search Console: “Disallowed attribute or attribute value present in HTML tag.” When I investigate any given AMP page, I get an error as seen in this image. Basically it looks like for the amp-featured-image <figure>, both the ‘data-hero’ and ‘fallback’ versions are removing the quotes ” from alt=”blah blah” to alt=blah blah, which means HTML is no longer valid.

    But only affects the cached version of page, internal version is okay. So possibly an internal issue, just thought should mention in case. EDIT: just confirmed rolling back from 1.0.77.22 to 1.0.7.20 fixes this issue.

    • This reply was modified 3 years, 6 months ago by paulieweb.
    • This reply was modified 3 years, 6 months ago by paulieweb.
    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    It seems there is issues with the below images.
    Reference screengrab: https://prnt.sc/1s2qk4m

    Can you please let us know, how you are adding those images?

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Paulieweb: As per forum guidelines, please create a new topic.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error on image tag’ is closed to new replies.