A mandatory AMP HTML tag is missing from this document

Posted in: Newspaper
Post count: 27

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!

Post count: 8

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.
Post count: 23312

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!

Post count: 8

Excuse me. But I don’t change anything. Give same error again. Please help about amp.

Post count: 23312

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!

Post count: 27

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!

Post count: 23312

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!

Post count: 27

Hi Catalin,
A new error is showing on my search console ” error in required structured data element “. Can you please check it!!
Thank you.

Post count: 23312

Hi GurjyotSandhu,

Provide more details about this problem and where exaclty this appear. You can provide some useful screenshots with it so we can identify it closer.

Thank you!

Post count: 27

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!

Post count: 23312

Hi,

Thank you for your feedback.

Viewing 11 posts - 1 through 11 (of 11 total)
The forum ‘Newspaper’ is closed to new topics and replies.