• Resolved ejaganece

    (@ejaganece)


    Hi today all post showing like

    “There is content which fails AMP validation. The invalid markup has been automatically removed. Review issues

    Invalid elements: script (30)

    Invalid attributes: onfocus, onblur, onclick (3)”

    View post on imgur.com

    can you please tell how can i clear this error.

    • This topic was modified 4 years, 3 months ago by ejaganece.

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

Viewing 1 replies (of 1 total)
  • Plugin Support Milind More

    (@milindmore22)

    Hello @ejaganece,

    Our primary investigation suggests that your theme or one of the plugins you are using is injecting javascript on the page. which has been removed by the AMP plugin. ( javascript is not allowed on AMP pages )

    The AMP plugin removes scripts so that it can create valid AMP pages.

    After checking the AMP version of your page, it seems those might be scripts from your theme. As you can see the menu toggle and search toggle are not working on the AMP page.

    I will suggest using reader mode for now where you can choose a compatible theme for AMP pages, our guide has more info on it.

Viewing 1 replies (of 1 total)
  • The topic ‘There is content which fails AMP validation. The invalid markup has been automat’ is closed to new replies.