• Resolved mediaboy18

    (@mediaboy18)


    I’ve tried everything… I’ve dug through the support forums and followed every step and I’m still getting the error “An error occurred processing the form. Please try again.”

    The form has a Stripe payment, so I put it in Test mode and cannot get the form to submit. Someone filled out the form in LIVE mode and the submission came through, but never got a successful payment in Stripe even though it’s connected.

    Any ideas here??

    Thanks in advance!

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter mediaboy18

    (@mediaboy18)

    An update- I reached out to my hosting provider, Siteground, and they ran extensive diagnostics and came back to an issue in Forminator itself that’s causing the issue. This was their debug report:

    0.000049 openat(AT_FDCWD, “/home/customer/www/airbornevolleyball.org/public_html/wp-admin/php_errorlog”, O_WRONLY|O_CREAT|O_APPEND, 0644) = 5
    0.000062 write(5, “[26-Nov-2020 03:55:22 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Forminator_Stripe::generate_paymentIntent(), 2 passed in /home/customer/www/airbornevolleyball.org/public_html/wp-content/mu-plugins/forminator-submit-before-stripe.php on line 1194 and exactly 3 expected in /home/customer/www/airbornevolleyball.org/public_html/wp-content/plugins/forminator/library/fields/stripe.php:274\nStack trace:\n#0 /home/customer/www/airbornevolleyball.org/public_html/wp-content/mu-plugins/forminator-submit-before-stripe.php(1194): Forminator_Stripe->generate_paymentIntent(100, Array)\n#1 /home/customer/www/airbornevolleyball.org/public_html/wp-content/mu-plugins/forminator-submit-before-stripe.php(96): Forminator_Stripe_Override->update_paymentIntent_Override(”, 100, Array, Array, Array, 176)\n#2 /home/customer/www/airbornevolleyball.org/public_html/wp-includes/class-wp-hook.php(287): WPMUDEV_Forminator_Submit_Before_Stripe->update_payment_amount(”)\n#3 /home/customer/www/airbornevolleyball.org/public_html/wp-includes/class-wp-hoo in /home/customer/www/airbornevolleyball.org/public_html/wp-content/plugins/forminator/library/fields/stripe.php on line 274\n”, 1195) = 1195

    They also said

    In other words, the actual error is logged in the file ~/www/airbornevolleyball.org/public_html/wp-admin/php_errorlog and it appears to be an issue with part of the code of the plugin forminator. I tried to resolve this by switching to different PHP versions but the error remains.

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @mediaboy18

    Sorry to hear you are having this issue.

    I pinged the plugin developers to check the reported lines and see what is happening.

    We will update once hearing back from the developers.

    Best Regards
    Patrick Freitas

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @mediaboy18

    I checked the error closely and it seems the issue is from a mu-plugin.

    Can you try to rename the forminator-submit-before-stripe.php to forminator-submit-before-stripe.txt and check if the issue is gone?

    Let us know the result you got.
    Best Regards
    Patrick Freitas

    Thread Starter mediaboy18

    (@mediaboy18)

    That did the trick!!
    You guys had provided that MU plugin previously because we weren’t getting the form submissions in the backend or in our Google Sheet integration, but we were getting the payments… So hopefully renaming it to .txt will still submit the entries before submitting the Stripe payment.

    The form is submitting in test mode right now just fine. Thank you so much for looking into this!!

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @mediaboy18

    Would it be possible to upload the mu-plugin on Google Drive and share the link so we can take a look at why it was causing the fatal error and maybe try to fix?

    Best Regards
    Patrick Freitas

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘An error occurred processing the form…’ is closed to new replies.