• Hello,

    I am getting the above non-specific error from GSC. I haven’t changed anything on my pages. Before I start making changes, I wanted to check and see what this might be. Thank you

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

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

    (@wordpressguy0101)

    Seems all of my pages are now invalid AMP, when they were fine up until a couple of days ago. I have tried deactivating certain plugins, and no change.

    Thread Starter wordpressguy0101

    (@wordpressguy0101)

    How is it possible that the amp validator is giving me this many errors for this page when I have changed nothing on this post? All I have done is update the plugin:

    <!– html is corrupted –>
    The mandatory tag ‘html doctype’ is missing or incorrect. Learn more.
    The mandatory tag ‘html’ is missing or incorrect. Learn more.
    The mandatory tag ‘head’ is missing or incorrect. Learn more.
    The mandatory tag ‘link rel=canonical’ is missing or incorrect. Learn more.
    The mandatory tag ‘meta charset=utf-8’ is missing or incorrect. Learn more.
    The mandatory tag ‘meta name=viewport’ is missing or incorrect. Learn more.
    The mandatory tag ‘head > style[amp-boilerplate]’ is missing or incorrect. Learn more.

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    I saw the source of the code:
    view-source:https://importedautomobile.com/baby-stroller-with-car-seat/amp/

    see: https://monosnap.com/file/VztIzgSK9sRTsfpT4BNXjkBdLF0U1R

    Can you please let me know if this happened after the update or something?

    Can you try to rollback the plugin version if that works for you?

    Also, if you could turn on the WP_Debug to true then it would be great because it will help us see if there are any errors on that page.

    Thread Starter wordpressguy0101

    (@wordpressguy0101)

    Yes, this was after an update

    I have rolled back to 0.9.97.65 and no change.

    How do I put it in debug mode?

    Thread Starter wordpressguy0101

    (@wordpressguy0101)

    I have looked this up and would rather not put my live site in debug mode. From WordPress:

    It is not recommended to use WP_DEBUG or the other debug tools on live sites; they are meant for local testing and staging installs.

    Thread Starter wordpressguy0101

    (@wordpressguy0101)

    I have found the issue. I deactivated WP fastest cache and now all my AMP are valid

    Thread Starter wordpressguy0101

    (@wordpressguy0101)

    AMP for WP will not work when WP Fastest Cache is active, even with minimal options. The only time it will work is when WP fastest cache is disabled entirely

    Thread Starter wordpressguy0101

    (@wordpressguy0101)

    It would be good to be able to deactivate WP Fastest Cache for AMP only, and leave it active for the rest of the site.

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    That’s really strange, Let me test it out ‘WP Fastest Cache’ with the latest version, I will make sure that if there’s a conflict, then we will resolve it ASAP.

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    I tried testing it out but it worked perfectly.

    Can you please test it out on our of your other WordPress installation if possible and let me know if you get the same error?

    Thread Starter wordpressguy0101

    (@wordpressguy0101)

    For whatever reason, I don’t seem to be getting these errors on the two other sites. I don’t want to take any risks with those sites by testing, but they are using a different theme. This site is using understrap.

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    I think it could be a plugin or the theme issue,

    Try to deactivate the plugins and theme for few minutes to see if that fixes it?

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Not a valid AMP page’ is closed to new replies.