Need Help with AMP Pages

Posted in: Newspaper
Post count: 3

Hi i was getting error in webmaster tools while enable AMP plugins,

1. The tag ‘noscript enclosure for boilerplate’ appears more than once in the document.
2. Only amp-boilerplate and amp-custom ‘style’ tags are allowed, and only in the document head.
3. Referenced AMP URL is not an AMP (it’s my home page)

How to solve it?

I don’t well known with AMP setup. Please Provide me step by step guide.

  • This topic was modified 7 years by ndodariya.
  • This topic was modified 7 years by ndodariya.
Post count: 3

Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0

Post count: 35449

Hi,

I think that this problem can be fixed by changing a line of code in wp-content/plugins/td-composer/mobile/header-amp.php
Replace:
<html <?php language_attributes(); ?>>

-> https://www.screencast.com/t/Fj94HAommH
With:
<html <?php language_attributes(); ?> amp>

-> https://www.screencast.com/t/yIjgHPfpB
Please make sure that you do not have a plugin conflict, please deactivate all non theme plugins, also if you are using child theme or cache plugin, please deactivate them, clear all cache and try again.

Thank you!

Post count: 49

Thenks Mr. Calin 🙂

This response solve my problems

Post count: 49
Post count: 35449
Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.