Title: Sitewide Java Script bug &amp; &#8220;Save settings&#8221; button not working in Async
Last modified: June 6, 2020

---

# Sitewide Java Script bug & “Save settings” button not working in Async

 *  Resolved [merlinthewarlock](https://wordpress.org/support/users/merlinthewarlock/)
 * (@merlinthewarlock)
 * [6 years ago](https://wordpress.org/support/topic/sitewide-java-script-bug-save-settings-button-not-working-in-async/)
 * Recently, I have had a sitewide javascript error that affects multiple plugins
   on the backend such as Elementor, Advanced Custom Fields, and even Async JS (
   e.g. [https://support.advancedcustomfields.com/forums/topic/buttons-not-working-in-field-group/#post-132270](https://support.advancedcustomfields.com/forums/topic/buttons-not-working-in-field-group/#post-132270)).
 * In Async – I am trying to change the settings of JQuery to be excluded (and other
   settings), but the “Save Settings” button is not working. When I click, the page
   doesn’t refresh or anything. I opened developer tools and no errors or warnings
   show up.
 * I am not sure if Async is causing the problem as the JS problem in other plugins
   persists even after deactivating Async.
 * Other factors to consider: 1] Siteground changed my servers yesterday 2] I upgraded
   my PHP version to 7.4 (but the problem still persists after reverting to 7.3)
 * Thank you in advance for your speedy reply.
    -  This topic was modified 6 years ago by [merlinthewarlock](https://wordpress.org/support/users/merlinthewarlock/).

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years ago](https://wordpress.org/support/topic/sitewide-java-script-bug-save-settings-button-not-working-in-async/#post-12948055)
 * -> AsyncJS does not act on pages on the back-end (wp-admin)
    -> the problem remains
   when AsyncJS is not active
 * so my conclusion: this is not due to AsyncJS really …
 * what JS errors do you see on the browser console when trying to save settings?
 *  Thread Starter [merlinthewarlock](https://wordpress.org/support/users/merlinthewarlock/)
 * (@merlinthewarlock)
 * [6 years ago](https://wordpress.org/support/topic/sitewide-java-script-bug-save-settings-button-not-working-in-async/#post-12948105)
 * That’s the thing – I don’t see any JS errors in the browser console. It just 
   says: “JQMIGRATE: Migrate is installed, version 1.4.1”.
 * Could the problem be due to Autoptimize? When I cleared the “Autoptimize” cache,
   the JS error in Advanced Custom Fields went away for 1 minute before coming back.
 * Beyond that, do you know where I would look for corrupt JS files?
 * Thanks!
 *  Thread Starter [merlinthewarlock](https://wordpress.org/support/users/merlinthewarlock/)
 * (@merlinthewarlock)
 * [6 years ago](https://wordpress.org/support/topic/sitewide-java-script-bug-save-settings-button-not-working-in-async/#post-12948266)
 * I fixed it!!!!!
 * I was creating a Chrome extension and had “developer mode” on. After I turned
   it off, everything went back to normal in all my plugins.
 * I guess developer mode autobreaks JavaScript as a security measure?
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years ago](https://wordpress.org/support/topic/sitewide-java-script-bug-save-settings-button-not-working-in-async/#post-12948446)
 * no experience with chrome extension development & the impact of “developer mode”,
   but great find, good to know merlinthewarlock 🙂

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

The topic ‘Sitewide Java Script bug & “Save settings” button not working in Async’
is closed to new replies.

 * ![](https://ps.w.org/async-javascript/assets/icon-128x128.png?rev=1839260)
 * [Async JavaScript](https://wordpress.org/plugins/async-javascript/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/async-javascript/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/async-javascript/)
 * [Active Topics](https://wordpress.org/support/plugin/async-javascript/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/async-javascript/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/async-javascript/reviews/)

## Tags

 * [buttons not working](https://wordpress.org/support/topic-tag/buttons-not-working/)
 * [Java script error](https://wordpress.org/support/topic-tag/java-script-error/)

 * 4 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/sitewide-java-script-bug-save-settings-button-not-working-in-async/#post-12948446)
 * Status: resolved