Title: Validation Issues
Last modified: October 18, 2020

---

# Validation Issues

 *  [cloud0034](https://wordpress.org/support/users/cloud0034/)
 * (@cloud0034)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/validation-issues-7/)
 * I recently downloaded this plug in to enable AMP on the site. However, I cannot
   get valid AMP pages, because of the following:
    The attribute ‘src’ in tag ‘amp-
   form extension .js script’ is set to the invalid value ‘[https://cdn.ampproject.org/v0/amp-form-latest.js&#8217](https://cdn.ampproject.org/v0/amp-form-latest.js&#8217);
   defer=’defer’. The attribute ‘src’ in tag ‘amp-bind extension .js script’ is 
   set to the invalid value ‘[https://cdn.ampproject.org/v0/amp-bind-latest.js&#8217](https://cdn.ampproject.org/v0/amp-bind-latest.js&#8217);
   defer=’defer’.
 * What I have done so far:
    – Deactivated all plug ins and created a new test post,
   still have the issue (the cache doesn’t clear immediately). So not my other plug
   ins. – There is no form on any of the AMP pages, so I have no idea why this JS
   element is being pulled in.
 * Also for reference, using the AMP plug in, this issue did not occur, and AMP 
   pages were valid, so it does seem like something with this plug in.
 * Any help greatly appreciated, I do not want to go back to the AMP plug in, because
   the design customization was horrible.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fvalidation-issues-7%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/validation-issues-7/#post-13551570)
 * We checked your issue. This issue happens because of the ‘defer’ attribute which
   is added javascript in source code. Maybe some plugin or theme that added this
   defer attribute on your page.
    Like this: [https://prnt.sc/v27bzp](https://prnt.sc/v27bzp)
 * Can you please tell me which theme are you using on your page? If your theme 
   provides any kind of javascript optimizations or any plugin that is using javascript
   optimizations, then please turnoff. And do let us know which theme or plugin 
   that is conflicting with an adding deffer. So we can reectify it and make it 
   compactibile with future updates.

Viewing 1 replies (of 1 total)

The topic ‘Validation Issues’ 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

 * [validation](https://wordpress.org/support/topic-tag/validation/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/validation-issues-7/#post-13551570)
 * Status: not resolved