Title: JavaScript Error
Last modified: December 16, 2019

---

# JavaScript Error

 *  Resolved [rochow](https://wordpress.org/support/users/rochow/)
 * (@rochow)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/javascript-error-170/)
 * Basic WP install. Getting an error about $ being undefined.
 * Find + replace of $ for jQuery in all the JS files fixes this. Maybe should update
   the plugin files to be the same, as I don’t see where it’s defining $ (given 
   jQuery in WP is in no conflict mode, and some of these functions are not being
   wrapped in jQuery to change that)
    -  This topic was modified 6 years, 5 months ago by [rochow](https://wordpress.org/support/users/rochow/).

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

 *  [Ross](https://wordpress.org/support/users/rmdglasgow/)
 * (@rmdglasgow)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/javascript-error-170/#post-12243823)
 * [Deleted post – Error was due to theme. Sorry!]
    -  This reply was modified 6 years, 5 months ago by [Ross](https://wordpress.org/support/users/rmdglasgow/).
      Reason: Error due to theme
 *  Plugin Author [Ninja Team](https://wordpress.org/support/users/ninjateam/)
 * (@ninjateam)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/javascript-error-170/#post-12245202)
 * Hi [@rochow](https://wordpress.org/support/users/rochow/),
 * Thanks for reaching out. Firstly, please make sure you are using the latest version.
   Then can you clear both server cache and browser cache to see if this solve the
   issue? If that does not help, please send us screenshots of where you find the
   error with “$”.
 * Have a nice day!
 * Best regards,
    Kelly
 *  Thread Starter [rochow](https://wordpress.org/support/users/rochow/)
 * (@rochow)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/javascript-error-170/#post-12245211)
 * Hi Kelly,
 * Yes it’s the latest version.
 * No it’s not cache.
 * If you open the JavaScript files and see it has $ everywhere.
    Find and replace
   that with jQuery = solved, no more JavaScript errors.
 * As mentioned WP uses no conflict mode given other JS libraries use $ also, so
   plain functions shouldn’t be using $ because it will not necessarily reference
   jQuery.
 * Thanks,
 *  Plugin Author [Ninja Team](https://wordpress.org/support/users/ninjateam/)
 * (@ninjateam)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/javascript-error-170/#post-12245414)
 * Thanks [@rochow](https://wordpress.org/support/users/rochow/) for the enlightenment,
   we will change it in the next update. I hope you can leave us a nice review, 
   thank you so much.
 * Kelly
 *  Plugin Author [Ninja Team](https://wordpress.org/support/users/ninjateam/)
 * (@ninjateam)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/javascript-error-170/#post-12475946)
 * Hi there,
 * Thanks for reaching out. We have released the update, please check it out.
    Thank
   you so much.
 * Kelly

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

The topic ‘JavaScript Error’ is closed to new replies.

 * ![](https://ps.w.org/filebird/assets/icon-128x128.gif?rev=2299145)
 * [FileBird - WordPress Media Library Folders & File Manager](https://wordpress.org/plugins/filebird/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/filebird/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/filebird/)
 * [Active Topics](https://wordpress.org/support/plugin/filebird/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/filebird/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/filebird/reviews/)

## Tags

 * ["js error"](https://wordpress.org/support/topic-tag/js-error/)

 * 5 replies
 * 3 participants
 * Last reply from: [Ninja Team](https://wordpress.org/support/users/ninjateam/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/javascript-error-170/#post-12475946)
 * Status: resolved