Title: jQuery error
Last modified: September 21, 2017

---

# jQuery error

 *  [dotlizard](https://wordpress.org/support/users/dotlizard/)
 * (@dotlizard)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/jquery-error-52/)
 * I am using Advanced Forms with the Divi theme and the Divi builder. Whether I
   use the Divi builder or not, when I put in the form shortcode and save the page,
   jQuery breaks — console is full of `Uncaught ReferenceError: jQuery is not defined`
   and pretty much the entire admin section breaks.
 * When I am using the Divi builder, saving the page reloads and shows a box called“
   Form Settings” which features an endlessly spinning loading icon. If I just put
   the shortcode in the default WordPress content editor and save, the page reloads
   with several boxes ([https://imgur.com/a/UwJvv](https://imgur.com/a/UwJvv)). 
   Either way, the ability to edit the page disappears, and everything that uses
   jQuery (which is a lot of things) goes haywire.
 * I tried the first [fix here](https://wpcolt.com/jquery-not-defined-possible-causes-fix-wordpress/),
   and then attempted edit the plugin itself as [this suggests](https://wordpress.stackexchange.com/questions/133816/uncaught-referenceerror-jquery-is-not-defined-how-do-i-define-it-correctly)
   but the `Uncaught ReferenceError: jQuery is not defined` errors remain, all 70
   of them. The errors are coming from everywhere — WordPress, WooCommerce, plugins,
   you name it. (note: I know I’m not supposed to edit plugin files but I’m desperate,
   and when it didn’t make any difference at all, I reverted to the original code).
 * Help?

Viewing 1 replies (of 1 total)

 *  Plugin Author [fabianlindfors](https://wordpress.org/support/users/fabianlindfors/)
 * (@fabianlindfors)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/jquery-error-52/#post-9531382)
 * Hi!
 * This sound a bit odd. There are no parts of AF which should be messing with the
   jQuery enqueue.
 * Are you certain this is connected to Divi theme/builder? Does everything work
   as expected when using a different theme such as Twenty Seventeen?
 * Thanks for reaching out!

Viewing 1 replies (of 1 total)

The topic ‘jQuery error’ is closed to new replies.

 * ![](https://ps.w.org/advanced-forms/assets/icon-256x256.png?rev=1894254)
 * [Advanced Forms for ACF](https://wordpress.org/plugins/advanced-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-forms/reviews/)

## Tags

 * [jQuery is not defined](https://wordpress.org/support/topic-tag/jquery-is-not-defined/)

 * 1 reply
 * 2 participants
 * Last reply from: [fabianlindfors](https://wordpress.org/support/users/fabianlindfors/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/jquery-error-52/#post-9531382)
 * Status: not resolved