Title: Error: jQuery is not defineddebug-bar-js.js
Last modified: August 22, 2016

---

# Error: jQuery is not defineddebug-bar-js.js

 *  [Toro_Unit (Hiroshi Urabe)](https://wordpress.org/support/users/toro_unit/)
 * (@toro_unit)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/error-jquery-is-not-defineddebug-bar-jsjs/)
 * Hello.
 * replace jquery in theme, show error javascript console,
 * >  Uncaught ReferenceError: jQuery is not defined
 * in functions.php
 *     ```
       add_action('wp_enqueue_scripts',function(){
       	if ( ! is_admin() ) {
       		wp_deregister_script( 'jquery' );
       		wp_register_script( 'jquery', 'https://code.jquery.com/jquery-2.1.3.min.js', [ ], '2.1.3', true );
       	}
       });
       ```
   
 * fixed:
    [https://gist.github.com/torounit/fcb42e94f94e99d4fb20/revisions](https://gist.github.com/torounit/fcb42e94f94e99d4fb20/revisions)
   Please merge the fix.
 * Thanks.
 * [https://wordpress.org/plugins/debug-bar/](https://wordpress.org/plugins/debug-bar/)

The topic ‘Error: jQuery is not defineddebug-bar-js.js’ is closed to new replies.

 * ![](https://ps.w.org/debug-bar/assets/icon.svg?rev=3050748)
 * [Debug Bar](https://wordpress.org/plugins/debug-bar/)
 * [Support Threads](https://wordpress.org/support/plugin/debug-bar/)
 * [Active Topics](https://wordpress.org/support/plugin/debug-bar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/debug-bar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/debug-bar/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Toro_Unit (Hiroshi Urabe)](https://wordpress.org/support/users/toro_unit/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/error-jquery-is-not-defineddebug-bar-jsjs/)
 * Status: not resolved