I have just updated AMP and my search console saying “A mandatory “AMP HTML tag is missing from this document is showing error” I am not getting any solution to fix this error. please help!
I have same problem for amp pages.
https://search.google.com/test/amp?id=C2XsBcmDelm0mwejhXyftw&skip_amp_follow=true
-
This reply was modified 7 years by
butur.
Hi,
Ensure that you have correctly installed and set up the AMP according to our documentation from here -> https://tagdiv.com/amp-newspaper-theme/, clear all the caches, purge CDN files and check the results. If the problem persists, you need to check your additional customizations and your Analitycs section from the Theme panel and if you have some strange codes, you need to remove them and check the results. We had cases of gen in the past because of custom codes in the Analytics section.
Hope this helps and let us know how it goes!
Thank you!
Hi butur,
I have checked your AMP errors and it seems to be caused by your additional customizations. I saw that you are using another Analitycs tool like Yandex Metrica which causes some errors, as you can see here -> https://www.screencast.com/t/QscFSaUve Try to disable it together with all of your untested plugins used by you, clear all the caches, purge CDN files and check the results. If you want to add more Analityc codes, you need to check the special Analitycs section for that, like this -> https://www.screencast.com/t/q10KpKzz
Thank you!
Hi Catalin,
I have cleared caches and purged CDN files. My “disable admin bar on AMP pages” was unticked so I guess this is the main reason for this problem. Till now no error has occurred. Thanks!
Hi Gurj,
I would suggest as a first test to deactivate all plugins except theme provided plugins. Then test again with the validator. Chances are the issue will be solved.
I remember seeing in some topics similar issues being caused by optimization plugins or settings from them. Let us know. I have checked your website and it seems to return good results. -> https://www.screencast.com/t/L40SV4bXCAl
Thank you!
Hi Catalin,
A new error is showing on my search console ” error in required structured data element “. Can you please check it!!
Thank you.
Hi, Catalin
After the new update of the amp app, this problem is not occurring. We’ll inform you if it arises again. Thank you!