Title: Uncaught SyntaxError with jQuery
Last modified: January 2, 2019

---

# Uncaught SyntaxError with jQuery

 *  Resolved [haccpmentor](https://wordpress.org/support/users/haccpmentor/)
 * (@haccpmentor)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/uncaught-syntaxerror-with-jquery/)
 * Hi
 * I have your plugin installed (Version 2.5.1). I am getting an issue where on 
   the WooCommer checkout / Stripe the credit card input fields are unable to be
   used. You can see an example at: [https://snag.gy/jHGRZP.jpg](https://snag.gy/jHGRZP.jpg)
 * These are the errors that I can see (an disappear when I deactivate your Fast
   Velocity Minify plugin. Can you please advise how to fix this issue so I can 
   take payments for products and use your plugin.
 * Uncaught SyntaxError: Unexpected token <
    (index):33 Uncaught ReferenceError:
   jQuery is not defined at (index):33 (anonymous) @ (index):33 footer-79866c87-
   1546419287.min.js:9 Uncaught Error: Bootstrap’s JavaScript requires jQuery at
   footer-79866c87-1546419287.min.js:9 (anonymous) @ footer-79866c87-1546419287.
   min.js:9 footer-966c1ac2-1546419287.min.js:1 Uncaught ReferenceError: jQuery 
   is not defined at footer-966c1ac2-1546419287.min.js:1 (anonymous) @ footer-966c1ac2-
   1546419287.min.js:1 (index):104 Uncaught ReferenceError: jQuery is not defined
   at (index):104
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Funcaught-syntaxerror-with-jquery%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Raul P.](https://wordpress.org/support/users/alignak/)
 * (@alignak)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/uncaught-syntaxerror-with-jquery/#post-11069405)
 * You seem to have fixed by adding jquery to the ignore list…
    `https://wordpress.
   org/plugins/fast-velocity-minify/faq/`
 * I guess that you probably have some modification, or some other plugin changing
   the order of scripts, so when FVM merges the JS files, the jQuery file goes to
   the footer, or after the inlined code on line 104 (hence it’s undefined).
 * Disable any other plugin that optimizes the order of scripts, loads them async,
   or moves them to the footer, and there should be no need to exclude jquery (usually).
 * However, if it works as it is, no need to do any changes.
 *  Thread Starter [haccpmentor](https://wordpress.org/support/users/haccpmentor/)
 * (@haccpmentor)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/uncaught-syntaxerror-with-jquery/#post-11070675)
 * Hi Raul
 * The only thing I did was to enable ‘Disable JavaScript processing _[ If selected,
   this plugin will ignore JS files completely ]_ which is une JavaScript Options
   in the plugin.
 * The reason I did this was so I would stop losing sales from my website and allow
   credit card details to be taken.
 * Here are the current settings on my website for your plugin: [https://snag.gy/ATXZL3.jpg](https://snag.gy/ATXZL3.jpg)
 * Because I had to disable JavaScript processing, now my google analytics page 
   speed has dropped.
 * This issues only stated after updating your plugin. Any help would be appreciated.
 * Thanks
    Amanda
 *  Plugin Author [Raul P.](https://wordpress.org/support/users/alignak/)
 * (@alignak)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/uncaught-syntaxerror-with-jquery/#post-11083301)
 * Ok, then like I said, you will need to look into the ignore list and try different
   files there to see if it works. `https://wordpress.org/plugins/fast-velocity-
   minify/faq/`
 * But before that, click the option to `Skip deferring the jQuery library [ Will
   probably fix “undefined jQuery” errors on the Google Chrome console log ]` and
   it should work.
 * Your error says `jQuery is not defined` so that’s the option you must select.
 * Nevertheless, you may need to still use the ignore list.
    Alternatively, try 
   another plugin, autoptimize, and see if it works.

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

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

 * ![](https://ps.w.org/fast-velocity-minify/assets/icon-128x128.jpg?rev=1440946)
 * [Fast Velocity Minify](https://wordpress.org/plugins/fast-velocity-minify/)
 * [Support Threads](https://wordpress.org/support/plugin/fast-velocity-minify/)
 * [Active Topics](https://wordpress.org/support/plugin/fast-velocity-minify/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fast-velocity-minify/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fast-velocity-minify/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Raul P.](https://wordpress.org/support/users/alignak/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/uncaught-syntaxerror-with-jquery/#post-11083301)
 * Status: resolved