• Resolved ald9506

    (@ald9506)


    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 to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    you very likely will have to exlcude jquery from being asynced as well @ald9506

    hope this helps,
    frank

    Thread Starter ald9506

    (@ald9506)

    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

    (@optimizingmatters)

    well, first and foremost; do you also see errors when AsyncJS is disabled?

    Thread Starter ald9506

    (@ald9506)

    Yep, same two errors when disabling AsyncJS:

    TypeError: Cannot read property ‘ChildViewContainer’ of undefined
    ReferenceError: Marionette is not defined

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    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.