Title: Javascript error caused by &#8220;Combine JavaScript Files&#8221;
Last modified: July 4, 2025

---

# Javascript error caused by “Combine JavaScript Files”

 *  Resolved [wahahey](https://wordpress.org/support/users/wahahey/)
 * (@wahahey)
 * [9 months, 1 week ago](https://wordpress.org/support/topic/javascript-error-caused-by-combine-javascript-files/)
 * The error does not currently show, because we have disabled Combine JavaScript
   Files in Optimizer settings. It was preventing Smart Slider 3 from displaying
   on our homepage, and that of another website too.
 * You can see a screenshot here: [https://postimg.cc/XZQLhNcd](https://postimg.cc/XZQLhNcd)–
   the console on the right shows the error between lines 73 and 74 – trying to 
   use import in the wrong place (apparently).
 * I hope this helps you to fix it!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-error-caused-by-combine-javascript-files%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [stefanstefanov](https://wordpress.org/support/users/stefanstefanov/)
 * (@stefanstefanov)
 * [9 months, 1 week ago](https://wordpress.org/support/topic/javascript-error-caused-by-combine-javascript-files/#post-18542071)
 * Helllo [@wahahey](https://wordpress.org/support/users/wahahey/)
 * We are sorry to hear about the issues that you have been facing. It sounds like
   the problem may stem from JavaScript code on your webpage that either isn’t loading
   correctly or is being used before it’s properly defined. This issue could be 
   the result of a conflict between your site’s theme and plugins, or possibly due
   to a custom PHP script in your application. If you are a customer of SiteGround,
   we suggest you submit a HelpDesk request via your SiteGround Client Area. By 
   doing so, we can take a closer look at your situation and provide you with more
   specific advice and support.
 * Best regards,
 * Stefan Stefanov

Viewing 1 replies (of 1 total)

The topic ‘Javascript error caused by “Combine JavaScript Files”’ is closed to new
replies.

 * ![](https://ps.w.org/sg-cachepress/assets/icon-256x256.gif?rev=2971889)
 * [Speed Optimizer - The All-In-One Performance-Boosting Plugin](https://wordpress.org/plugins/sg-cachepress/)
 * [Support Threads](https://wordpress.org/support/plugin/sg-cachepress/)
 * [Active Topics](https://wordpress.org/support/plugin/sg-cachepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sg-cachepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sg-cachepress/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [stefanstefanov](https://wordpress.org/support/users/stefanstefanov/)
 * Last activity: [9 months, 1 week ago](https://wordpress.org/support/topic/javascript-error-caused-by-combine-javascript-files/#post-18542071)
 * Status: resolved