Title: AMP Script Issues
Last modified: May 18, 2022

---

# AMP Script Issues

 *  [swappsdev](https://wordpress.org/support/users/swappsdev/)
 * (@swappsdev)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/amp-script-issues-3/)
 * I’m checking AMP issues on Google Search Console and I don’t know how to solve
   the next ones:
 * 1.`There are scripts in the page using different release versions.`
 * On page detail the issue is
    `The script version for 'amp-iframe' is a unknown
   version which mismatches with the first script ...:`
 * Some pages with the issues are:
    [https://www.zuckermanlaw.com/sp_faq/what-is-a-protected-class/](https://www.zuckermanlaw.com/sp_faq/what-is-a-protected-class/)
   [https://www.zuckermanlaw.com/sec-whistleblower-lawyer-matt-stock-quoted-about-sec-whistleblower-claims/](https://www.zuckermanlaw.com/sec-whistleblower-lawyer-matt-stock-quoted-about-sec-whistleblower-claims/)
   [https://www.zuckermanlaw.com/sec-whistleblower-lawyer-matt-stock-quoted-about-sec-whistleblower-claims/](https://www.zuckermanlaw.com/sec-whistleblower-lawyer-matt-stock-quoted-about-sec-whistleblower-claims/)
 * 2. `Custom JavaScript is not allowed.`
 * On page detail the issues are:
    `The parent tag of tag 'amp-iframe v1.0 extension
   script' is 'body', but it can only be 'head'.` `The parent tag of tag 'amp-bind
   extension script' is 'body', but it can only be 'head'.`
 * Some pages with the issues are:
    [https://www.zuckermanlaw.com/sp_faq/what-is-sexual-harassment/amp/](https://www.zuckermanlaw.com/sp_faq/what-is-sexual-harassment/amp/)
   [https://www.zuckermanlaw.com/sp_faq/can-sue-individual-sarbanes-oxley-act/](https://www.zuckermanlaw.com/sp_faq/can-sue-individual-sarbanes-oxley-act/)
   [https://www.zuckermanlaw.com/sp_faq/can-sue-individual-sarbanes-oxley-act/](https://www.zuckermanlaw.com/sp_faq/can-sue-individual-sarbanes-oxley-act/)
 * 3. `Only amp-boilerplate and amp-custom 'style' tags are allowed, and only in
   the document head.`
 * On page detail the issue is:
    `The parent tag of tag 'style amp-custom' is 'body',
   but it can only be 'head'.`
 * Some pages with the issues are:
    [https://www.zuckermanlaw.com/defense-contractor-whistleblower-protection-verdict/](https://www.zuckermanlaw.com/defense-contractor-whistleblower-protection-verdict/)
   [https://www.zuckermanlaw.com/sp_faq/can-sue-individual-sarbanes-oxley-act/](https://www.zuckermanlaw.com/sp_faq/can-sue-individual-sarbanes-oxley-act/)
   [https://www.zuckermanlaw.com/sp_faq/what-is-sexual-harassment/amp/](https://www.zuckermanlaw.com/sp_faq/what-is-sexual-harassment/amp/)
 * Each issue seems to be related with scripts in the header. Checking others support
   answers I found that the scripts described on the issues are properly added I
   don’t understand the source of the issues.
 * Thank you for your help in advance.

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

 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/amp-script-issues-3/#post-15659991)
 * Can you please share with us the exported AMP optional panel settings once? SO
   that we will import it at our end and check the issue once and get back to you
   accordingly to resolve it.
 * Here is the reference tutorial of it: [https://ampforwp.com/tutorials/article/how-to-import-and-export-the-amp-option-panel-settings/](https://ampforwp.com/tutorials/article/how-to-import-and-export-the-amp-option-panel-settings/)
 *  Thread Starter [swappsdev](https://wordpress.org/support/users/swappsdev/)
 * (@swappsdev)
 * [4 years ago](https://wordpress.org/support/topic/amp-script-issues-3/#post-15677800)
 * I’ve exported the amp configuration in the next file:
 * [https://jpst.it/2RnsX](https://jpst.it/2RnsX)
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [4 years ago](https://wordpress.org/support/topic/amp-script-issues-3/#post-15681433)
 * Thanks for sharing it. We will import it at our end and get back to shortly.
 *  Thread Starter [swappsdev](https://wordpress.org/support/users/swappsdev/)
 * (@swappsdev)
 * [4 years ago](https://wordpress.org/support/topic/amp-script-issues-3/#post-15740290)
 * Hello! Any updates on this? Thank you
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [4 years ago](https://wordpress.org/support/topic/amp-script-issues-3/#post-15741910)
 * Extremely sorry for the inconvenience. Can you please check once by recrawling
   your website in the google search console and let us know back the result? So
   that we will assist you immediately to resolve it ASAP!

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

The topic ‘AMP Script 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/)

 * 5 replies
 * 2 participants
 * Last reply from: [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/amp-script-issues-3/#post-15741910)
 * Status: not resolved