Title: JS error after click Preview Changes button
Last modified: October 6, 2022

---

# JS error after click Preview Changes button

 *  Resolved [nutttaro](https://wordpress.org/support/users/nutttaro/)
 * (@nutttaro)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/js-error-after-click-preview-changes-button/)
 * Hi there,
 * I got an error when click the Preview Changes button.
 * `load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,regenerator-
   runtime,wp-polyfill,wp-hooks&ver=6.0.2:formatted:566 Uncaught Error: Syntax error,
   unrecognized expression: [data-wpacu-input="preload"],[data-wpacu-input="media-
   query-select"],,.wpacu_unload_it_via_tax_checkbox,.wpacu_load_it_via_tax_checkbox`
 * ![470921ea-64df-4615-8e4c-3969b839cc68](https://i0.wp.com/i.ibb.co/YXD1pQk/470921ea-
   64df-4615-8e4c-3969b839cc68.png?ssl=1)
 * I guess it’s caused by Asset CleanUp: Page Speed Booster plugin.
    I already try
   to disabled this plugin and the Preview Changes button, it’s working.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/js-error-after-click-preview-changes-button/#post-16074612)
 * [@nutttaro](https://wordpress.org/support/users/nutttaro/) you were right about
   that! Thanks for letting me know about it and my apologies for this inconvenience!
 * This only happens if you use the “Classic Editor” and the “Preview Changes” button
   is clicked when the CSS/JS manager is already loaded. It has nothing to do with“
   Classic Editor” which works fine. It’s an Asset CleanUp bug.
 * I’ve updated the development version that has a fix and if you install it, you
   shouldn’t have this problem anymore. Here’s how to do it: [https://www.assetcleanup.com/docs/how-to-get-the-development-version-of-asset-cleanup/](https://www.assetcleanup.com/docs/how-to-get-the-development-version-of-asset-cleanup/)
 * PS: If you will ever be interested in the Pro version of the plugin, let me know
   and I will be glad to offer you a hefty discount as a thank you for reporting
   this bug. You can use this page to reach out: [https://www.gabelivan.com/contact/](https://www.gabelivan.com/contact/)

Viewing 1 replies (of 1 total)

The topic ‘JS error after click Preview Changes button’ is closed to new replies.

 * ![](https://ps.w.org/wp-asset-clean-up/assets/icon-256x256.png?rev=1981952)
 * [Asset CleanUp: Page Speed Booster](https://wordpress.org/plugins/wp-asset-clean-up/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-asset-clean-up/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-asset-clean-up/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-asset-clean-up/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-asset-clean-up/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-asset-clean-up/reviews/)

## Tags

 * [errors](https://wordpress.org/support/topic-tag/errors/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [js](https://wordpress.org/support/topic-tag/js/)

 * 1 reply
 * 2 participants
 * Last reply from: [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/js-error-after-click-preview-changes-button/#post-16074612)
 * Status: resolved