• Resolved joekercom

    (@joekercom)


    Getting a bunch of errors through Google Search Console on over 1500 pages, any idea on where to start with these?

    Error The tag ‘head > style[amp-boilerplate]’ is missing or incorrect, but required by ‘noscript > style[amp-boilerplate]’.

    Error The mandatory tag ‘noscript enclosure for boilerplate’ is missing or incorrect.

    Error The mandatory tag ‘head > style[amp-boilerplate]’ is missing or incorrect.

    Error Wrong parent HTML tag ‘body’ of tag ‘style amp-custom’

    Error The tag ‘noscript > style[amp-boilerplate]’ may only appear as a descendant of tag ‘head’.

    Error The tag ‘BODY’ appears more than once in the document.

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

    Error Wrong parent HTML tag ‘body’ of tag ‘link rel=canonical’

    Error Wrong parent HTML tag ‘body’ of tag ‘link rel=stylesheet for fonts’

    Error Invalid value for attribute in layout ‘width’ in tag ‘amp-img’

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor ampforwp

    (@ampforwp)

    Hi Joekercom,

    I see that you’re trying to add Custom Javascript which isn’t allowed in AMP, try to add AMP Compatible code and view the changes.

    May I know from the below Screenshot where you’re trying to add the Marked text?

    https://monosnap.com/file/lxoksut0FPu2q0Zkz1ywMrF37Xclpw

    Try to remove it and view the changes.

    Thread Starter joekercom

    (@joekercom)

    Thanks for the help, I’m not sure why that was added in there, but I have removed it.

    Also we haven’t purposely added any custom JS in to AMP, so I’m not sure how it’s getting in there, besides the snippet you screenshotted above.

    Plugin Contributor ampforwp

    (@ampforwp)

    Hi Joekercom,

    You’re welcome.

    Thread Starter joekercom

    (@joekercom)

    Hello

    I am still getting all these errors in Google Search Console, and it’s not indexing my AMP Pages.

    View post on imgur.com

    Plugin Contributor ampforwp

    (@ampforwp)

    Hi Joekercom,

    I agree with your point but would like to inform you that the pages are definitely valid and once Google re-crawls your Web pages then these errors will be eliminated and your pages will be validated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘A bunch of Errors in Google Search Console’ is closed to new replies.