Title: Uncaught ReferenceError: jQuery is not defined
Last modified: January 29, 2020

---

# Uncaught ReferenceError: jQuery is not defined

 *  Resolved [enkirch](https://wordpress.org/support/users/enkirch/)
 * (@enkirch)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-jquery-is-not-defined-22/)
 * Hi,
 * im creating a custom Theme and with this two lines in the functions php
 *  wp_dequeue_script(‘jquery’);
    wp_deregister_script(‘jquery’);
 * i get this js error
 * wpcf7-redirect-script.js:1 Uncaught ReferenceError: jQuery is not defined
    at
   wpcf7-redirect-script.js:1
 * the reason why i deregister jquery is, im adding my own jquery
 *  wp_register_script(‘jqueryCustom’, get_template_directory_uri() . ‘/dist/js/
   00_jquery.min.js’, array(), NULL, true);
    wp_enqueue_script(‘jqueryCustom’);

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Yuval](https://wordpress.org/support/users/yuvalsabar/)
 * (@yuvalsabar)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-jquery-is-not-defined-22/#post-12375774)
 * Hi [@enkirch](https://wordpress.org/support/users/enkirch/),
 * Make sure jQuery is loaded before wpcf7-redirect-script.js.
 * Yuval.

Viewing 1 replies (of 1 total)

The topic ‘Uncaught ReferenceError: jQuery is not defined’ is closed to new replies.

 * ![](https://ps.w.org/wpcf7-redirect/assets/icon-256x256.gif?rev=3416723)
 * [Redirection for Contact Form 7](https://wordpress.org/plugins/wpcf7-redirect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpcf7-redirect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpcf7-redirect/)
 * [Active Topics](https://wordpress.org/support/plugin/wpcf7-redirect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpcf7-redirect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpcf7-redirect/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Yuval](https://wordpress.org/support/users/yuvalsabar/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-jquery-is-not-defined-22/#post-12375774)
 * Status: resolved