• Resolved Matt

    (@matsp)


    Hi – No front-end users can login to my website as they receive the message:

    An error occurred while processing the form. Please try again
    (undefined)

    I see this is a common error message in the support forums here but none have led me to the answer yet and I hope someone can help.

    I have already tried temporarily deactivating my caching plugin, and a security plugin, and checked admin-ajax is working, but the issue remains. Any help would be greatly appreciated, thank you.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Dmytro – WPMU DEV Support

    (@wpmudevsupport16)

    Hello Matt,

    I hope you’re doing great today!

    Could you please check the Response tab for admin-ajax.php after you press the Submit button.
    https://prnt.sc/A8eT00SDBFux

    In case of an error, there should be a separate “Errors” thread, when you can find more details (such as a Recaptcha response, or when a required field is missing, etc.).

    If you’d like our techs to test the form, please feel free to share the form export file via Google Drive, Dropbox, or a similar service. You can export the form on the form list page: https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#forms-list

    Best Regards,
    Dmytro

    Thread Starter Matt

    (@matsp)

    Hi Dmytro. Many thanks for your reply. The only thing I could find in my browser tools was the following: https://prnt.sc/hhfj3G5jhjuA …about non-unique input id’s.

    I’ll happily export the file and upload it to my google drive, how do I then share this with your team please?

    Many thanks.

    Thread Starter Matt

    (@matsp)

    Hi Dmytro (@wpmudevsupport16 )

    One of the non-working forms can be viewed below as a export to google drive. Neither the login or register forms are working.

    Login form https://drive.google.com/file/d/1GlilyF_OFOVQaSKnHY_bNx15UrQP7AeU/view?usp=sharing

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hi @matsp

    Thank you for sharing the additional information.

    Your browser console logs don’t show anything related to Forminator, and when I tested the form export on my lab site it was working fine.

    I suspect that your issue is related to Google ReCAPTCHA because I can see it has been used for the form, could you please first try to temporarily remove it to see how the form works?

    If it was helpful, you need to regenerate the API keys for your reCAPTCHA and update them in forminator settings.
    https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#recaptcha-settings

    Best Regards
    Amin

    Thread Starter Matt

    (@matsp)

    Hi Amin, many thanks for the suggestion – I just tried removing the captcha from the form for a while but I am still getting the same:

    An error occurred while processing the form. Please try again
    (undefined)

    I also double checked my recaptcha credentials, and all are correctly configured. Any other ideas would be greatly appreciated.

    Plugin Support Williams – WPMU DEV Support

    (@wpmudevsupport3)

    Hi @matsp ,

    I hope you’re doing well, and thanks for testing.

    I’ve also given it another try on my test lab, and the form work properly.

    To avoid issues with caching, could you please go to the Form > Behavior and try to enable the Load Form Using AJAX from the Render section?

    Here is also more info about the option – https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#rendering

    Please let us know how it goes.
    Best Regards,
    Williams Valerio

    Thread Starter Matt

    (@matsp)

    Hi, thanks for your reply. The form doesn’t display at all with the Load Form Using AJAX enabled. The form is inserted into the page using a shortcode if that makes any difference there.

    Hi @matsp

    You have mentioned that you have only disabled cache and security plugins. Would you please run a full conflict test? Please deactivate all plugins except Forminator and check if the problem is gone. If so, then enable all plugins one by one and find which one is having a conflict. If there is no positive result, switch to the default WordPress theme like 2019 and see if it works.

    Before this test, we recommend full site backup or running this test on the staging site.

    Kind Regards,
    Kris

    Thread Starter Matt

    (@matsp)

    Hi. Thanks for your reply. I went through a few plugins first – turning off directorist caused a critical site error, which disappeared when I activated it again. I tried the theme change but that didn’t work. Currently login is working now though with auto optimize deactivated, though I can’t say if that was the issue or directorist. Anyway all good now, thank you for your help.

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

The topic ‘An error occurred while processing the form. Please try again (undefined)’ is closed to new replies.