Title: Uncaught SyntaxError
Last modified: July 28, 2022

---

# Uncaught SyntaxError

 *  Resolved [mgboerni](https://wordpress.org/support/users/mgboerni/)
 * (@mgboerni)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/uncaught-syntaxerror-12/)
 * Hi there,
 * when I activate WP-Optimize I get the Error:
 * [module]\n;:2 Uncaught SyntaxError: Invalid or unexpected token (at [module]\
   n;:2:59)
 * But I can´t find the error in the Settings.
    The Plugin and all is up to date.
 * Can you find the error?
    I also search in older topics and also on google and
   can´t find something about it.
 * Tanks for your help
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Funcaught-syntaxerror-12%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/uncaught-syntaxerror-12/#post-15869532)
 * [@mgboerni](https://wordpress.org/support/users/mgboerni/) Have you performed
   a conflict test yet?
 * Try deactivating all plugins except for WP-Optimizeand see if it is resolved.
 * If so, reactivate each plugin one at a timeuntil you find the culprit. You can
   check for the issue between activating each plugin, so you can see which one 
   is causing problems.
 * Please let us know your findings.

Viewing 1 replies (of 1 total)

The topic ‘Uncaught SyntaxError’ is closed to new replies.

 * ![](https://ps.w.org/wp-optimize/assets/icon-256x256.png?rev=1552899)
 * [WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance](https://wordpress.org/plugins/wp-optimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-optimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-optimize/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-optimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-optimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-optimize/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Harshad](https://wordpress.org/support/users/bornforphp/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/uncaught-syntaxerror-12/#post-15869532)
 * Status: resolved