• Resolved ircf

    (@ircf)


    Hi,

    We use Ninja Forms 3.1.8. We have a form with many mail/actions that works well. When we add a redirect action and then try to submit the form, we have the following error :

    The server encountered an error during processing.
    
    Uncaught Error: Class 'NF_ESO_Parser' not found in /path/to/website/wp-content/plugins/ninja-forms/includes/Libraries/EOS/Parser.php:151
    Stack trace:
    #0 /path/to/website/wp-content/plugins/ninja-forms/includes/Libraries/EOS/Parser.php(377): NF_EOS_Parser->checkInfix(NULL)
    #1 /path/to/website/wp-content/plugins/ninja-forms/includes/Libraries/EOS/Parser.php(357): NF_EOS_Parser->solveIF(NULL, NULL)
    #2 /path/to/website/wp-content/plugins/ninja-forms/includes/MergeTags/Calcs.php(31): NF_EOS_Parser->solve('')
    #3 /path/to/website/wp-content/plugins/ninja-forms/includes/AJAX/Controllers/Submission.php(234): NF_MergeTags_Calcs->set_merge_tags('', '', '2', ',', ' ')
    #4 /path/to/website/wp-content/plugins/ninja-forms/includes/AJAX/Controllers/Submission.php(60): NF_AJAX_Controllers_Submission->process()
    #5 /path/to/website/wp-includes/class-wp-hook.php(298): NF_AJAX_Controllers_Submission->submit('')
    #6 /path/to/website/

    I guess it’s just a typo in the Parser class code. We’ll try to fix it directly in the plugin, but it would be nice if you could fix it for future releases ??

    Thank you very much and thank you for this great plugin ??

    Mathieu.

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m also getting this same error.
    Did you get a fix on this yet?

    +1 Getting this error with a URL redirect

    Self inflicted. Dived into the code and noticed the error gets thrown if unclosed calculation. Went to front end form, calculations and noticed there was an empty calculation saved which was triggering the error. Deleted it and all good.

    Plugin Contributor Zach Skaggs

    (@wpnzach)

    This is being patched later today. It is a bug introduced in 3.0.18 that fails form submission when there is an empty calculation attached to the form. As a workaround, you can delete the empty calculation by going to “Advanced” in your form builder, then “Calculations” and deleting the empty calculation.

    Please note that we only check these forums about once a week, so if you have any more questions and need assistance, please reach out to us at https://ninjaforms.com/contact/ for faster assistance!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP Error on form submit with redirect action’ is closed to new replies.