Title: Uncaught Syntax Error with Elementor
Last modified: September 9, 2021

---

# Uncaught Syntax Error with Elementor

 *  Resolved [thejaydip](https://wordpress.org/support/users/iamjaydip/)
 * (@iamjaydip)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/uncaught-syntax-error-with-elementor/)
 * Hi there,
    I have the SCRIPT_DEBUG constant in wp-config.php set to true and 
   activate “JS Minify” and “JS Combine”, so it gives me javascript error ( Uncaught
   SyntaxError: Unexpected token ‘var’ ).
 * Thank you.

Viewing 1 replies (of 1 total)

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/uncaught-syntax-error-with-elementor/#post-14857017)
 * Hi,
 * please check this [page](https://docs.litespeedtech.com/lscache/lscwp/ts-optimize/#identify-whether-its-a-css-or-javascript-issue)
 * Best regards,

Viewing 1 replies (of 1 total)

The topic ‘Uncaught Syntax Error with Elementor’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/uncaught-syntax-error-with-elementor/#post-14857017)
 * Status: resolved