Title: Plugin crashes JS
Last modified: March 17, 2017

---

# Plugin crashes JS

 *  [Burgjona](https://wordpress.org/support/users/burgjona/)
 * (@burgjona)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/plugin-crashes-js/)
 * Hi guys!
    The use of your plugins crashes the JS on my site. Console gives me
   that:
 * Uncaught TypeError: $ is not a function
    at HTMLDocument.<anonymous> (main.js:
   9) at i (jquery.min.js?ver=2.0.s:2) at Object.fireWith [as resolveWith] (jquery.
   min.js?ver=2.0.s:2) at Function.ready (jquery.min.js?ver=2.0.s:2) at HTMLDocument.
   J (jquery.min.js?ver=2.0.s:2)
 * Can you help?
    Cheers, Jonathan.

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

 *  Plugin Author [livemesh](https://wordpress.org/support/users/livemesh/)
 * (@livemesh)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/plugin-crashes-js/#post-8938180)
 * The file main.js probably belongs to the theme you are using. There is no such
   file in the plugin itself. Pls contact the author of the theme or plugin which
   has this file which is raising the error.
 *  [SamVW](https://wordpress.org/support/users/samvw/)
 * (@samvw)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/plugin-crashes-js/#post-9046772)
 * [@livemesh](https://wordpress.org/support/users/livemesh/)
 * Sorry but this issue is definitely caused by your plugin.
 * I’ve used it on two sites, and in both cases it broke js for several scripts 
   on the page, giving the error cited in the OP. Disabling LVCA fixes it.
 * The scripts getting broken begin with:
    `$ = jQuery.noConflict();`
 * When I remove `jQuery.noConflict(),` from lvca-frontend.min.js everything works
   again.
 * I’m not saying the fault doesn’t also lie with other theme/plugin authors, but
   your plugin is the only one I’ve found so far that causes this conflict.

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

The topic ‘Plugin crashes JS’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/addons-for-visual-composer_b9bdc0.
   svg)
 * [WPBakery Page Builder Addons by Livemesh](https://wordpress.org/plugins/addons-for-visual-composer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/addons-for-visual-composer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/addons-for-visual-composer/)
 * [Active Topics](https://wordpress.org/support/plugin/addons-for-visual-composer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/addons-for-visual-composer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/addons-for-visual-composer/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [SamVW](https://wordpress.org/support/users/samvw/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/plugin-crashes-js/#post-9046772)
 * Status: not resolved