Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter khaerulmalik

    (@khaerulmalik)

    1. A tag on this page requires an AMP component ‘script’ tag, which is missing.
    2. Custom JavaScript is not allowed.
    3. Tag ‘amp-story’ is not allowed to have any sibling tags (‘body’ should only have 1 child).
    4. Only amp-boilerplate and amp-custom ‘style’ tags are allowed, and only in the document head.
    5. Disallowed attribute or attribute value present in HTML tag.
    6. A mandatory AMP HTML tag is missing from this document.
    7. The parent tag of tag ‘html’ must be ‘!doctype’.
    8. Tag found outside the document head which is only allowed as a direct child of the document head.

    therare 20 link are same problems. please help.

    Plugin Author Pascal Birchler

    (@swissspidy)

    You are using a plugin that inserts ads in posts and pages — and also stories. It adds code like this to every story, causing all these errors:

    <div class='code-block code-block-1' style='margin: 8px auto; text-align: center; clear: both;'>
    <amp-ad
      layout="fixed-height"
      height= 300
      type="adsense"
      data-ad-client="ca-pub-9566815561853135"
      data-ad-slot="1848206668">
    </amp-ad></div>

    You need to find the offending plugin and disable it for stories or completely, or if you can’t achieve that, reach out to that plugin’s developer to get support.

    Thread Starter khaerulmalik

    (@khaerulmalik)

    should i remove or what?
    i’m using ad inserter plugin. in the option theres no story ad

    Thread Starter khaerulmalik

    (@khaerulmalik)

    @khaerulmalik If you disable the plugin and run your Story through AMP validation once more do you still see any errors?

    @adamdunnage

    can you tell me ho w to solve this error

    Tag ‘amp-story’ is not allowed to have any sibling tags (‘body’ should only have 1 child).

    I use Ezoic and Ad Insertion plugins for google AdSense So I,m confused about how to solve it because if I disable both plugins then ads will be removed from my blog
    so how can I solve this error with both plugins

    https://friendrecipes.com/web-stories/easy-cheesy-sausage-biscuit-bites-2/

    help me to fix the issue please

    @mobi233 If you are having issues with your Stories then please could I ask that you open your own support topic. We will be able to help you out there.

    @adamdunnage

    i already ask in support topic but now reply i need solution right now please help me

    @mobi233 We have replied on your topic so please continue the conversation there, thanks!

    I dont receive any replied

    @mobi233 Apologies we have not yet replied on your topics. We are currently looking at these and will reply as soon as we can.

    okay thank you

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

The topic ‘AMP page is invalid’ is closed to new replies.