Title: SyntaxError: Unexpected token &#8216;)&#8217;
Last modified: March 27, 2018

---

# SyntaxError: Unexpected token ‘)’

 *  Resolved [mddswalk](https://wordpress.org/support/users/mddswalk/)
 * (@mddswalk)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/syntaxerror-unexpected-token-26/)
 * I’m in over my head. Installed AO today. Was running Async Javascript plugin 
   already. Now my client’s site is broken. It’s not loading fully in either Safari
   or Chrome. I’m on a Mac. SCRIPT_DEBUG did not fix the error.
 * Safari error console shows SyntaxError: Unexpected token ‘)’
 * curl ‘[http://katalinagroup.com/wp-content/cache/autoptimize/js/autoptimize_a61ec2860b5d982639e5b845e8dd6f7c.js&#8217](http://katalinagroup.com/wp-content/cache/autoptimize/js/autoptimize_a61ec2860b5d982639e5b845e8dd6f7c.js&#8217);\
   -
   XGET
 * I don’t know what other information is helpful. Any advice will be greatly appreciated.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsyntaxerror-unexpected-token-26%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [mddswalk](https://wordpress.org/support/users/mddswalk/)
 * (@mddswalk)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/syntaxerror-unexpected-token-26/#post-10121772)
 * Resolved. I unchecked “Optimize JavaScript Code?” and the site is loading again.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/syntaxerror-unexpected-token-26/#post-10122325)
 * happy you were able to work around the problem [@mddswalk](https://wordpress.org/support/users/mddswalk/).
   if you want to get JS optimization working, you could very likely do so by excluding
   a specific JS-file from optimization, cfr. troubleshooting info in [the FAQ](https://wordpress.org/plugins/autoptimize/#faq).
   let me know if you need more help!
 * frank

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

The topic ‘SyntaxError: Unexpected token ‘)’’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/syntaxerror-unexpected-token-26/#post-10122325)
 * Status: resolved