Title: Several AMP errors
Last modified: August 9, 2021

---

# Several AMP errors

 *  [tomdavis17](https://wordpress.org/support/users/tomdavis17/)
 * (@tomdavis17)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/several-amp-errors/)
 * Hi, I have the following errors on 18 of my pages. Any idea what could be causing
   them?
    Thank you in advance. Tom
 * Error The parent tag of tag ‘html’ must be ‘!doctype’.
 * Error A mandatory AMP HTML tag is missing from this document.
 * Error Tag found outside the document head which is only allowed as a direct child
   of the document head.
 * Error Only amp-boilerplate and amp-custom ‘style’ tags are allowed, and only 
   in the document head.
 * Error Custom JavaScript is not allowed.
 * Error Tag or text which is only allowed inside the body section found outside
   of the body section.
 * Error Disallowed attribute or attribute value present in HTML tag.
    -  This topic was modified 4 years, 10 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
      Reason: Moved to Fixing WordPress, this is not an Everything else WordPress
      topic
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fseveral-amp-errors%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [4 years, 10 months ago](https://wordpress.org/support/topic/several-amp-errors/#post-14749256)
 * Which of the AMP plugins are your using?
 *  Thread Starter [tomdavis17](https://wordpress.org/support/users/tomdavis17/)
 * (@tomdavis17)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/several-amp-errors/#post-14752117)
 * [@sterndata](https://wordpress.org/support/users/sterndata/) I was using this
   plugin: [https://en-gb.wordpress.org/plugins/amp/](https://en-gb.wordpress.org/plugins/amp/)
   but this caused even more issues so have recently deactivated it. – the errors
   in search console were there before I deactivated the AMP plugin aswell.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [4 years, 10 months ago](https://wordpress.org/support/topic/several-amp-errors/#post-14753363)
 * I recommend asking at [https://wordpress.org/support/plugin/amp/#new-post](https://wordpress.org/support/plugin/amp/#new-post)
   so the plugin’s developers and support community can help you with this.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Several AMP errors’ is closed to new replies.

## Tags

 * [Google Search Console](https://wordpress.org/support/topic-tag/google-search-console/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/several-amp-errors/#post-14753363)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
