Cannot read property of undefined (2 posts)

  1. rtoher
    Posted 2 years ago #


    Firstly I'll say, I’m new to coding and setting up websites in general. I am using Ninjaforms 2.4.2 for some simple forms on a wp site I’m setting up for someone. The forms worked for a few days, but as of late last night the pages that have embedded forms aren’t loading *only* while my pagelines DMS editor is active.

    You might think this is a forms issue, but I submitted a ticket to ninja forms and they've never heard of anything like this, so I'm wondering if it's on the DMS end..

    The forms and pages load perfectly fine with the editor inactive and through other browsers besides. But so long as the shortcode is present on the page, while the DMS editor is running the page doesn’t load.

    When I attempt to load the page with the editor running and developer opened I receive this error “Uncaught TypeError: Cannot read property ‘ajax’ of undefined”

    Is this something with php?

    Again, it seems to be the Ninjaforms plugin that is causing the problem, at least in part. When it’s deactivated or the shortcode isn’t in the post, the issue goes away.

    I imagine you may seen this sort of thing before, but due to my inexperience I can’t seem to fix it. Any help would be appreciated it.

    Thanks kindly for your time.



  2. jamieblanchett
    Posted 2 years ago #

    Hi there, the DMS editor is Jquery based, so if it's not loading when the plugin is active then it will be down to a script that the plugin is using which conflicts with the core code. If you disable the plugin and it then works, then this is 100% the case. Unfortunately it would be seeking an alternative plugin to provide the form.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic