Title: Few Console Errors
Last modified: September 1, 2016

---

# Few Console Errors

 *  Resolved [rawhyder](https://wordpress.org/support/users/rawhyder/)
 * (@rawhyder)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/few-console-errors/)
 * I’m getting a few errors in my google search console:
 * 1) The attribute ‘border’ may not appear in tag ‘amp-img’.
    (Which comes from
   the Amazon Affiliate Code – 1pxx1px border=”0″)
 * 2) The implied layout ‘CONTAINER’ is not supported by tag ‘amp-iframe’.
 * 3) The attribute ‘valign’ may not appear in tag ‘table’.
 * 4) The mandatory attribute ‘height’ is missing in tag ‘amp-img’.
 * And also, all of the target=”_blank” links don’t work. The href doesn’t even 
   show on them. Links that aren’t target=”_blank” work fine. Need to strip out 
   the “blank” to get these links working again.
 * [https://wordpress.org/plugins/accelerated-mobile-pages/](https://wordpress.org/plugins/accelerated-mobile-pages/)

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/few-console-errors/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/few-console-errors/page/2/?output_format=md)

 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/few-console-errors/#post-7678758)
 * Hey Rawhyder,
 * Thanks for the awesome feedback! It will help us create better plugin for you.
 * We’re two developers, we dedicate 2 days out of our week to the AMP plugin development.
   So, we will look into these over the next week, fix the issues and release an
   update soon as possible.
 * Regards,
    Ahmed
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/few-console-errors/#post-7678760)
 * Also, I totally forgot to mention, but if you could post the website url then
   it would really help us.
 * Regards,
    Ahmed
 *  Thread Starter [rawhyder](https://wordpress.org/support/users/rawhyder/)
 * (@rawhyder)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/few-console-errors/#post-7678765)
 * Hi Ahmed, I sent you a website link via email, don’t really want to post it here.
   Thanks! 🙂
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/few-console-errors/#post-7678783)
 * Sure Rawhyder, I can understand. Will look into this soon as possible.
 *  Thread Starter [rawhyder](https://wordpress.org/support/users/rawhyder/)
 * (@rawhyder)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/few-console-errors/#post-7678786)
 * Thanks, the target=”_blank” is the most crucial for me to work right now, since
   none of the links work. The console errors will all be fixed in time. 🙂
 *  [Nicholas Griffin](https://wordpress.org/support/users/thetechnuttyuk/)
 * (@thetechnuttyuk)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/few-console-errors/#post-7678861)
 * Sounds like you have a few issues with plugin compatibility to me, it seems that
   you have a few plugins that are adding their own code to AMP pages, which you
   shouldn’t be doing.
 * If you can, the best way for you to stop this is the disable amp pages from the
   settings of those plugins, some will have an option like “disable on these pages”,
   you can simply type something along the lines of ” */?amp ” and that will work
   if they support regular expressions.
 * Aside from that, you would need to individually disable the plugins you need 
   in this plugin, or get the other plugin developers to stop their plugins loading
   on AMP pages.
 *  Thread Starter [rawhyder](https://wordpress.org/support/users/rawhyder/)
 * (@rawhyder)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/few-console-errors/#post-7678868)
 * Where would I add */?amp to, to disable that plugin from working on amp pages?
 * And this morning, I get a slew of new console errors:
 * The tag ‘img’ may only appear as a descendant of tag ‘noscript’. Did you mean‘
   amp-img’?
 * Missing structured data element
 * Invalid URL protocol ‘http:’ for attribute ‘src’ in tag ‘img’.
 * The attribute ‘ref’ may not appear in tag ‘a’.
 *  [Nicholas Griffin](https://wordpress.org/support/users/thetechnuttyuk/)
 * (@thetechnuttyuk)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/few-console-errors/#post-7678869)
 * Well if the plugin has an option to disable on certain pages, that’s where you
   would add that.
 * Currently, I think the best option would be to disable all of your plugins except
   for AMP and check if everything validates, it should.
 * Then enable your plugins one by one, re-validating after each activation and 
   write down the ones where you see additional validation problems.
 * You can validate AMP pages by copying the URL into this page:
 * [https://validator.ampproject.org/](https://validator.ampproject.org/)
 *  Thread Starter [rawhyder](https://wordpress.org/support/users/rawhyder/)
 * (@rawhyder)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/few-console-errors/#post-7678870)
 * A couple more errors: (Do you want these in separate posts? Or just continue 
   adding them here?)
 * The attribute ‘border’ may not appear in tag ‘td’.
 * The attribute ‘size-full’ may not appear in tag ‘amp-img’.
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/few-console-errors/#post-7678880)
 * Hey [@rawhyder](https://wordpress.org/support/users/rawhyder/)
 * Your username on the github is ‘Taig7’?
 * so that I can be sure that I am checking the right website url.
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/few-console-errors/#post-7678881)
 * You may have sent me an email with URL, but I am not able to locate it.
 * Can you please send it to ahmed (at) magazine3.com so I can check it out and 
   troubleshoot them.
 *  Thread Starter [rawhyder](https://wordpress.org/support/users/rawhyder/)
 * (@rawhyder)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/few-console-errors/#post-7678885)
 * Taig, not me. I sent you an email with all the errors and url. 🙂
 *  Thread Starter [rawhyder](https://wordpress.org/support/users/rawhyder/)
 * (@rawhyder)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/few-console-errors/#post-7678954)
 * A couple more Console Errors:
 * The attribute ‘border’ in tag ‘table’ is set to the invalid value ‘3’.
 * The attribute ‘cellpadding’ may not appear in tag ‘td’.
 *  Thread Starter [rawhyder](https://wordpress.org/support/users/rawhyder/)
 * (@rawhyder)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/few-console-errors/#post-7678995)
 * One more new one…
 * The attribute ‘color’ may not appear in tag ‘hr’.
 *  Plugin Author [Mohammed Kaludi](https://wordpress.org/support/users/mohammed_kaludi/)
 * (@mohammed_kaludi)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/few-console-errors/#post-7678996)
 * [@rawhyder](https://wordpress.org/support/users/rawhyder/),
 * Thank you for reporting the issue, we are going to release a big update in few
   days and I’m sure these issues will be fixed in the next update.
 * Our main focus is validation in this update.
 * Thank you once again for reporting the bugs.
    Mohammed Kaludi

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/few-console-errors/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/few-console-errors/page/2/?output_format=md)

The topic ‘Few Console Errors’ is closed to new replies.

 * ![](https://ps.w.org/accelerated-mobile-pages/assets/icon-256x256.png?rev=1693616)
 * [AMP for WP - Accelerated Mobile Pages](https://wordpress.org/plugins/accelerated-mobile-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/accelerated-mobile-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/accelerated-mobile-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/accelerated-mobile-pages/reviews/)

## Tags

 * [Blank](https://wordpress.org/support/topic-tag/blank/)
 * [border](https://wordpress.org/support/topic-tag/border/)
 * [errors](https://wordpress.org/support/topic-tag/errors/)
 * [height](https://wordpress.org/support/topic-tag/height/)

 * 16 replies
 * 4 participants
 * Last reply from: [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/few-console-errors/page/2/#post-8208301)
 * Status: resolved