Title: Search console errors
Last modified: September 26, 2016

---

# Search console errors

 *  [PabloYglesias](https://wordpress.org/support/users/pabloyglesias/)
 * (@pabloyglesias)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/search-console-errors-2/)
 * Hi.
 * Since last version of AMP (19/09), all my pages have two problems:
 * The mandatory tag ‘html doctype’ is missing or incorrect.
    The mandatory tag ‘
   body’ is missing or incorrect.
 * The first solve included <!doctype html> in the plugin, but second i don’t know.
   All post have body tag, and i think that all its ok.
 * Are you working in these problems, or i would change to hand the plugin?
 * Thanks!
    -  This topic was modified 9 years, 7 months ago by [PabloYglesias](https://wordpress.org/support/users/pabloyglesias/).

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

 *  [aglyons](https://wordpress.org/support/users/aglyons/)
 * (@aglyons)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/search-console-errors-2/#post-8226089)
 * Same issue here but more of them. Not sure who should be looking at this. The
   AMP plugin team or the theme developers.
 * As reported by Search Console
 * AMP markup missing or incorrect
 * > The property ‘minimum-scale’ is missing from attribute ‘content’ in tag ‘meta
   > name=viewport’.
   >  The mandatory text (CDATA) inside tag ‘head > style[amp-boilerplate]–
   > old variant’ is missing or incorrect.
 * Prohibited HTML Tag with AMP equivalent
 * > The tag ‘img’ may only appear as a descendant of tag ‘noscript’. Did you mean‘
   > amp-img’?
 * Prohibited or invalid use of HTML Tag
 * >  Invalid URL protocol ‘http:’ for attribute ‘src’ in tag ‘img’.
   >  The parent
   > tag of tag ‘noscript > style[amp-boilerplate] – old variant’ is ‘head’, but
   > it can only be ‘noscript’. The attribute ‘onclick’ may not appear in tag ‘a’.
   > The mandatory attribute ‘amp-custom’ is missing in tag ‘style amp-custom’.
 * Info: Missing structured data element
 * Invalid CSS stylesheet
 * >  The attribute ‘href’ in tag ‘link rel=stylesheet for fonts’ is set to the 
   > invalid value
 * User-authored JavaScript found on page
 * >  The tag ‘script’ is disallowed except in specific forms.
 *  [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/search-console-errors-2/#post-8227436)
 * Try to use this Toolbox plugin with AMP, it has support for alot of validation
   issues: [https://wordpress.org/plugins/accelerated-mobile-pages/](https://wordpress.org/plugins/accelerated-mobile-pages/)
 *  Thread Starter [PabloYglesias](https://wordpress.org/support/users/pabloyglesias/)
 * (@pabloyglesias)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/search-console-errors-2/#post-8227910)
 * I find the problem.
 * I use Easy Social Share Buttons for WordPress AMP Toolbox, and this plugin include
   a script top of doctype tag.
 * Delete plugin and all its find. Now waiting Google crawlers return again :).
 * And testing your plugin Ahmed. Good job, but i think that your Facebook share
   button API doesn’t works.
 * When include traslation into spanish (or manually by wp-admin)?
 *  [evita2030](https://wordpress.org/support/users/evita2030/)
 * (@evita2030)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/search-console-errors-2/#post-8237168)
 * Hello!!
 * I am getting so many errors in serach console and I do not know what to do, could
   you please help me?
 *  [evita2030](https://wordpress.org/support/users/evita2030/)
 * (@evita2030)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/search-console-errors-2/#post-8237171)
 * Hello!!
 * I am getting so many errors in serach console and I do not know what to do, could
   you please help me?
 * 4,030 AMP pages with errors (excludes info issues)
 *  Issue Pages with issues
    1 Prohibited or invalid use of HTML Tag 4,030 2 User-
   authored JavaScript found on page 4,029 3 Invalid CSS stylesheet 3,975 4 Info:
   Invalid structured data element 231 5 Invalid usage of AMP tags 12 6 AMP markup
   missing or incorrect 10 7 Info: Missing structured data element 9 8 Prohibited
   HTML Tag with AMP equivalent 9 9 Invalid layout property found in AMP tag 6

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

The topic ‘Search console errors’ is closed to new replies.

 * ![](https://ps.w.org/amp/assets/icon.svg?rev=2527602)
 * [AMP](https://wordpress.org/plugins/amp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amp/)
 * [Active Topics](https://wordpress.org/support/plugin/amp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amp/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [evita2030](https://wordpress.org/support/users/evita2030/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/search-console-errors-2/#post-8237171)
 * Status: not resolved