Title: Jquery error : Unexpected Token :
Last modified: August 20, 2016

---

# Jquery error : Unexpected Token :

 *  [joietan](https://wordpress.org/support/users/joietan/)
 * (@joietan)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/jquery-error-unexpected-token/)
 * My website is at
    [http://www.gspreschool.net/preschool-trial-classes/](http://www.gspreschool.net/preschool-trial-classes/)
 * i receive a minification error in mail today.
    I have not modified the site since
   a week ago, and now my booking calendar is broken – the calendar is not shown
   on my google chrome and firefox
 * Looking at Chrome Script console. I am seeing this error which i believe the 
   source of the rest of the errors
    Uncaught SyntaxError: Unexpected token : jquery.
   js:2 I think it is on line 2.
 * The next following errors was :
    Uncaught ReferenceError: jQuery is not defined
 * I check the physical file at /wp-includes/js/query/jquery.js. it was the original
   file from wordpress installation. the author comment was present
 * However when i view my page source, and the follow the link to display jquery.
   js. The author comment was removed.
 * Did the w3 total cache optimize the jquery.js
 * I tried to empty all cache repeatedly and emptying my chrome cache but it did
   not solve the problem.
    I did not enable javascript minification at w3tc
 * Under W3TC setting – browser cache, everything is enabled.
 * Please help to direct me on the trouble shooting
    thank you, regards, joie

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

 *  [Andreas](https://wordpress.org/support/users/andreasnrb/)
 * (@andreasnrb)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/jquery-error-unexpected-token/#post-2257178)
 * Did you clear your brwoser cache?
    If there is no problem ignore the error message.
   Also I see you have enabled W3TC debug on your site. You should turn that off
   when you don’t need it it prevents caching and makes pages load slower.
 *  Plugin Contributor [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * (@fredericktownes)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/jquery-error-unexpected-token/#post-2257183)
 * You’ll want to disable JS minify until you can identify what the precise issue
   is. It’s hard to guess from the outside looking in.

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

The topic ‘Jquery error : Unexpected Token :’ is closed to new replies.

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

 * 2 replies
 * 3 participants
 * Last reply from: [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/jquery-error-unexpected-token/#post-2257183)
 * Status: not resolved