Title: Errors list using plugin on gconsole
Last modified: February 22, 2019

---

# Errors list using plugin on gconsole

 *  [Eugene.chint](https://wordpress.org/support/users/eugenechint/)
 * (@eugenechint)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/errors-list-using-plugin-on-gconsole/)
 * HTML Event attributes, aka ‘on*’, are not allowed in AMP Instead use ‘amp-bind’
   
   Failed 22 Error Disallowed attribute or attribute value present in HTML tag 
   Failed 22 Error The tag ‘img’ should be replaced with an equivalent ‘amp-img’
   tag 8 Error Malformed URL found for attribute ‘href’ in tag ‘a’ 8 Error A mandatory
   attribute is missing from an HTML tag 8 Error A tag on this page requires an 
   AMP component ‘script’ tag, which is missing 8 Error Only amp-boilerplate and
   amp-custom ‘style’ tags are allowed, and only in the document head 8 Error Custom
   JavaScript is not allowed 8 Error External stylesheets not supported, except 
   for whitelisted font providers Use the document inline ‘style amp-custom’ tag
   instead 8 Error A mandatory AMP HTML tag is missing from this document 4

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

 *  Plugin Author [Pascal Birchler](https://wordpress.org/support/users/swissspidy/)
 * (@swissspidy)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/errors-list-using-plugin-on-gconsole/#post-11236565)
 * Hi there
 * Would you mind sharing the URL of your site where this happens?
 * The plugin sanitizes most issues, so if you see these errors in Search Console,
   it sounds like you were not validating the AMP version but instead the non-AMP
   version.
 * But we’d need the URL to be able to verify this.
 *  Thread Starter [Eugene.chint](https://wordpress.org/support/users/eugenechint/)
 * (@eugenechint)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/errors-list-using-plugin-on-gconsole/#post-11236629)
 * yeah sure
    -  This reply was modified 7 years, 3 months ago by [Eugene.chint](https://wordpress.org/support/users/eugenechint/).
 *  Thread Starter [Eugene.chint](https://wordpress.org/support/users/eugenechint/)
 * (@eugenechint)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/errors-list-using-plugin-on-gconsole/#post-11236655)
 * As have started working on seo these errors will dent it
 *  Thread Starter [Eugene.chint](https://wordpress.org/support/users/eugenechint/)
 * (@eugenechint)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/errors-list-using-plugin-on-gconsole/#post-11236687)
 * [http://www.akruticlinic.in](http://www.akruticlinic.in)
    -  This reply was modified 7 years, 3 months ago by [Eugene.chint](https://wordpress.org/support/users/eugenechint/).
 *  Plugin Author [Pascal Birchler](https://wordpress.org/support/users/swissspidy/)
 * (@swissspidy)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/errors-list-using-plugin-on-gconsole/#post-11236715)
 * How are you integrating AMP on your site? It looks like you are using our plugin
   in Classic Mode, but at the same time are integrating AMP manually in your theme.
 * Looking at an example page in Classic mode by appending `?amp` to the URL, I 
   see lots of custom JavaScript being loaded, for example for a chat widget. These
   are not allowed in AMP.
 * Also, a caching plugin you are using seems to be adding lots of `onload` and `
   defer` attributes that are not allowed either.
 * I highly recommend you to read the AMP documentation at [https://www.ampproject.org/docs/](https://www.ampproject.org/docs/),
   as well as the documentation on our plugin website at [https://amp-wp.org/documentation/](https://amp-wp.org/documentation/)
   to learn more about what it takes to make a website AMP-compatible.

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

The topic ‘Errors list using plugin on gconsole’ 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
 * 2 participants
 * Last reply from: [Pascal Birchler](https://wordpress.org/support/users/swissspidy/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/errors-list-using-plugin-on-gconsole/#post-11236715)
 * Status: not a support question