Title: Ninja Forms jQuery Not Defined
Last modified: July 8, 2019

---

# Ninja Forms jQuery Not Defined

 *  Resolved [ald9506](https://wordpress.org/support/users/ald9506/)
 * (@ald9506)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/ninja-forms-jquery-not-defined/)
 * Hi,
 * My NinjaForm wont’t load I receive the error “jquery not defined” in the console
   along with “Cannot read property ‘ChildViewContainer’ of undefined”.
 * Any ideas? I’ve excluded the following scripts “seal.js, js/jquery/jquery.js,
   plugins/ninja-forms/assets/js, plugins/ninja-forms/”
 * I also have async jscripts and have excluded the ninjaform plugin. I’m also using
   cloudflare CDN.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fninja-forms-jquery-not-defined%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/ninja-forms-jquery-not-defined/#post-11709144)
 * you very likely will have to exlcude jquery from being asynced as well [@ald9506](https://wordpress.org/support/users/ald9506/)
 * hope this helps,
    frank
 *  Thread Starter [ald9506](https://wordpress.org/support/users/ald9506/)
 * (@ald9506)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/ninja-forms-jquery-not-defined/#post-11712597)
 * Ok, I’ve excluded JQuery now I’m getting two new errors:
 * TypeError: Cannot read property ‘ChildViewContainer’ of undefined
    ReferenceError:
   Marionette is not defined
 * Any other ideas? I’m also using the Async JS plugin and have excluded the NinjaForms
   plugin and JQuery within their settings.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/ninja-forms-jquery-not-defined/#post-11712912)
 * well, first and foremost; do you also see errors when AsyncJS is disabled?
 *  Thread Starter [ald9506](https://wordpress.org/support/users/ald9506/)
 * (@ald9506)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/ninja-forms-jquery-not-defined/#post-11715924)
 * Yep, same two errors when disabling AsyncJS:
 * TypeError: Cannot read property ‘ChildViewContainer’ of undefined
    ReferenceError:
   Marionette is not defined
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/ninja-forms-jquery-not-defined/#post-11716701)
 * hmm, seems like GF depends on backbone & underscore, can you add `wp-includes/
   js/backbone.min.js, wp-includes/js/underscore.min.js` to the comma-separated 
   JS optimization exclusion list?

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

The topic ‘Ninja Forms jQuery Not Defined’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/ninja-forms-jquery-not-defined/#post-11716701)
 * Status: resolved