Title: AMP error
Last modified: June 29, 2020

---

# AMP error

 *  Resolved [kiwi1000](https://wordpress.org/support/users/alice1000/)
 * (@alice1000)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/amp-error-22/)
 * Hi,
 * Is there a way to have amp compatible pages using WordFence? there are several
   scripts used on pages and so failed the amp usage :
    Invalid script: jquery.js
   Invalid script: jquery-migrate.min.js Invalid script: admin.ajaxWatcher.1592338782.
   js
 * Thanks

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

 *  [WFGerroald](https://wordpress.org/support/users/wfgerald/)
 * (@wfgerald)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/amp-error-22/#post-13049483)
 * Hey [@alice1000](https://wordpress.org/support/users/alice1000/),
 * As a hunch, it sounds like something may be loading the JavaScript too early.
   But as a test, can you please switch the Firewall into Learning Mode and let 
   me know if it helps?
 * [https://www.wordfence.com/help/firewall/learning-mode/](https://www.wordfence.com/help/firewall/learning-mode/)
 * Please let me know.
 * Thanks,
 * Gerroald
 *  Thread Starter [kiwi1000](https://wordpress.org/support/users/alice1000/)
 * (@alice1000)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/amp-error-22/#post-13049666)
 * Thanks for your reply,
 * it was already in learning mode (it’s been installed yesterday), I’ve tried to
   enable it but it’s the same
 *  [WFGerroald](https://wordpress.org/support/users/wfgerald/)
 * (@wfgerald)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/amp-error-22/#post-13053531)
 * Hey [@alice1000](https://wordpress.org/support/users/alice1000/),
 * Thanks for the update.
 * Can you please share screenshots of the errors you’re seeing in the browser console
   and I’ll share them with the developers for their thoughts?
 * [https://www.wordfence.com/help/advanced/troubleshooting/#how-to-inspect-the-browser-console](https://www.wordfence.com/help/advanced/troubleshooting/#how-to-inspect-the-browser-console)
 * Please let me know.
 * Thanks,
 * Gerroald
 *  Thread Starter [kiwi1000](https://wordpress.org/support/users/alice1000/)
 * (@alice1000)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/amp-error-22/#post-13053672)
 * I have anything in my browser console as the AMP plugin removes automatically
   scripts that are not AMP compatible
 * Here is the list : [https://imgur.com/a/7Lq0ZFp](https://imgur.com/a/7Lq0ZFp)
 * I’m using :
    Wordpress 5.4.2 Theme : Twenty Twenty AMP (amp) – Version 1.5.4 
   Active Duplicate Post (duplicate-post) – Version 3.2.4 Active Loco Translate (
   loco-translate) – Version 2.4.0 Active Wordfence Security (wordfence) – Version
   7.4.8 Active WPForms Lite (wpforms-lite) – Version 1.6.1 Active Yoast SEO (wordpress-
   seo) – Version 14.4.1 Active
 *  [WFSupport](https://wordpress.org/support/users/wfsupport/)
 * (@wfsupport)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/amp-error-22/#post-13065086)
 * Thanks for that. I have passed this request over to the dev and qa teams so that
   can consider this for a future release.
 * Tim
 *  Thread Starter [kiwi1000](https://wordpress.org/support/users/alice1000/)
 * (@alice1000)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/amp-error-22/#post-13079639)
 * Ok thanks,
 * just to be sure what the direct impact of removing admin.ajaxWatcher.1592338782.
   js from the page ? I would like to use your security plugin for my clients but
   I want to implement AMP too
 * It seems that the Live Traffic is working well
 *  [BobS Webadmin](https://wordpress.org/support/users/rstar1web/)
 * (@rstar1web)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/amp-error-22/#post-13329506)
 * Same issue
 *  [BobS Webadmin](https://wordpress.org/support/users/rstar1web/)
 * (@rstar1web)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/amp-error-22/#post-13329511)
 * Wondering how / when this can be resolved.
 *  Thread Starter [kiwi1000](https://wordpress.org/support/users/alice1000/)
 * (@alice1000)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/amp-error-22/#post-13423445)
 * I’ve switched to another plugin, it seems that data are sent for statistic purpose
   using this script and that breaks the amp validation

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

The topic ‘AMP error’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

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

 * 9 replies
 * 4 participants
 * Last reply from: [kiwi1000](https://wordpress.org/support/users/alice1000/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/amp-error-22/#post-13423445)
 * Status: resolved