• Resolved bizangodan

    (@bizangodan)


    Hello,

    One of our clients uses ninja forms for their contact form and it seems to have been getting stuck on a form submittal.

    I have an hunch that this is being caused by their Wordfence security plugin blocking the ajax request, but wanted to check in to see if this could be caused by any other known issue before I go mucking about in there.

    Here is the console log upon submitting the form.

    TypeError: Cannot read properties of undefined (reading 'nonce')
    at n.submitErrors (submitError.js:12:1)
    at p (backbone.min.js?ver=1691770341:2:3881)
    at f (backbone.min.js?ver=1691770341:2:3497)
    at a (backbone.min.js?ver=1691770341:2:692)
    at e.trigger (backbone.min.js?ver=1691770341:2:3380)
    at Object.success (submit.js:130:1)
    at fire (jquery.js?ver=1693242863:3223:31)
    at Object.fireWith as resolveWith
    at done (jquery.js?ver=1693242863:9627:14)
    at XMLHttpRequest. (jquery.js?ver=1693242863:9888:9)
    submit.js:135 Parse Error
    submit.js:136 TypeError: Cannot read properties of undefined (reading 'nonce')
    at n.submitErrors (submitError.js:12:1)
    at p (backbone.min.js?ver=1691770341:2:3881)
    at f (backbone.min.js?ver=1691770341:2:3497)
    at a (backbone.min.js?ver=1691770341:2:692)
    at e.trigger (backbone.min.js?ver=1691770341:2:3380)
    at Object.success (submit.js:130:1)
    at fire (jquery.js?ver=1693242863:3223:31)
    at Object.fireWith as resolveWith
    at done (jquery.js?ver=1693242863:9627:14)
    at XMLHttpRequest. (jquery.js?ver=1693242863:9888:9)

    The response from admin-ajax.php is missing as it says it is redirected.

    Thank you for your help

    -Dan

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter bizangodan

    (@bizangodan)

    I tried disabling the plugins, cleared the caches and the form would still not submit.

    I now think it could possibly due to some restrictions from Cloudflare? They’re currently hosted on WP Engine.

    • This reply was modified 6 months, 3 weeks ago by bizangodan.
    • This reply was modified 6 months, 3 weeks ago by bizangodan.
    Thread Starter bizangodan

    (@bizangodan)

    I figured out what was causing the issue, thanks.

    Plugin Support Faisal Ahammad

    (@faisalahammad)

    Hi there, ??

    Sorry to have missed you, I am glad that it works now, and thanks for the follow-up!

    Please don’t hesitate to reach back if anything else comes up.

    Plugin Support xmiax

    (@xmiax)

    Hi @bizangodan

    I’m glad everything is sorted now.

    I’m adding this for context in case someone else stumbles on it. Blocking or redirecting the WordPress ajax handler will definitely result in the stuck processing error you saw. For the benefit of anyone reading this who might not be familiar with it, the ajax handler (admin-ajax.php ) allows WordPress users to load content dynamically without having to refresh the entire page.

    Wordfence hasn’t ever blocked the WordPress ajax handler (admin-ajax.php) in my experience working there for 8+ years. Usually it happens because a user has tried blocking /wp-admin the URL and inadvertently wound up blocking /wp-admin the file path as well. Doing that doesn’t really make your site any more secure, especially since most malicious login requests use xml-rpc, but that’s a whole other discussion. ??

    If you have a second, please respond back and let everyone know what caused the admin-ajax.php redirect in the first place so that others can avoid the same issue.

    Thanks for being part of the Ninja Forms Community!

    Mia

    www.remarpro.com forum support is community based so that our users can help each other. If you can help another user who has a question we invite you to share your experience. While Ninja Forms staff does participate here, please note that support in these forums is voluntary and there is no SLA governing responses (per www.remarpro.com forum standards). Ninja Forms official support is available for free and paid users directly from our team at https://ninjaforms.com/contact/

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Form Submission Gets Stuck on Processing’ is closed to new replies.