Title: Aggregate JS Files breaks functionality
Last modified: November 22, 2020

---

# Aggregate JS Files breaks functionality

 *  Resolved [solomoulos](https://wordpress.org/support/users/solomoulos/)
 * (@solomoulos)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/aggregate-js-files-breaks-functionality/)
 * Hi and well done for this plugin.
    First of all I’m using a temp domain for now.
   I’m having a problem when activating “Aggregate JS Files”. With default exclusion
   list, many things are broken. Revolution Slider and Instagram Widget by WPZOOM
   are two of them, but I can’t find which else.
 * Thanks in advance.
    -  This topic was modified 5 years, 6 months ago by [solomoulos](https://wordpress.org/support/users/solomoulos/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Faggregate-js-files-breaks-functionality%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/aggregate-js-files-breaks-functionality/#post-13694055)
 * AO seems entirely off now, so impossible to say what might be going wrong there
   solomoulos :-/ What JS errors are displayed on the browser console when JS optimize&
   aggregate are active?
 *  Thread Starter [solomoulos](https://wordpress.org/support/users/solomoulos/)
 * (@solomoulos)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/aggregate-js-files-breaks-functionality/#post-13694133)
 * Here is the error.
    [Syntax Error](https://imgur.com/R2C1knk) [breakpoint](https://imgur.com/N1w5Qr9)
   I also use WP Super Cache in combination with AO.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/aggregate-js-files-breaks-functionality/#post-13694378)
 * Looks like an error in `wp-content/plugins/master-addons/inc/modules/header-footer-
   comment/assets/js/jltma-comments.js`, can you try adding that or `wp-content/
   plugins/master-addons/inc/modules/header-footer-comment/` or even `wp-content/
   plugins/master-addons/` to the comma-separated JS optimization exclusion list?
 *  Thread Starter [solomoulos](https://wordpress.org/support/users/solomoulos/)
 * (@solomoulos)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/aggregate-js-files-breaks-functionality/#post-13729729)
 * Thank you very much! Problem solved!
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/aggregate-js-files-breaks-functionality/#post-13729755)
 * you’re welcome, feel free to [leave a review of the plugin and support here](https://wordpress.org/support/plugin/autoptimize/reviews/#new-post)!
   🙂

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

The topic ‘Aggregate JS Files breaks functionality’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/aggregate-js-files-breaks-functionality/#post-13729755)
 * Status: resolved