An error occurred while processing the form.
-
We have a fairly complicated membership form which offers a PayPal or Submit button based on other fields in the form. On our new development site, when a user specifies they are in the UK and selects payment by cheque, the form submission fails with the generic error above. We are (as I just discovered) using the forminator-paypal-toggle.php mu-plugin. We have a similar form on our live site at https://concertina.org/membership/ which does not exhibit the same problem. The plugin versions are the same, and I’ve looked through what I think are the relevant fields and settings without finding any differences. Can you give me an idea what might be causing this issue? Thanks in advance for your help!
Here are the two full log errors that appear when we try and fail to submit the form:
Warning: Undefined array key “payment_transaction_id” in /home/dh_vdjvx2/ica.maybeso.net/wp-content/plugins/forminator/library/fields/paypal.php on line 280
Fatal error: Uncaught Error: Call to undefined function forminator_fields_to_array() in /home/dh_vdjvx2/ica.maybeso.net/wp-content/mu-plugins/forminator-paypal-toggle.php:71
Stack Trace
1.WPMUDEV_Forminator_PayPal_Toggle->custom_paypal_entry_data(Array, Object(Forminator_Form_Model), Array, Array)/home/dh_vdjvx2/ica.maybeso.net/wp-includes/class-wp-hook.php:3083.apply_filters(‘forminator_cust…’, Array, Object(Forminator_Form_Model), Array, Array)/home/dh_vdjvx2/ica.maybeso.net/wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.php:16734.Forminator_CForm_Front_Action::paypal_field_to_entry_data_array(Object(Forminator_Form_Entry_Model))/home/dh_vdjvx2/ica.maybeso.net/wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.php:8945.Forminator_CForm_Front_Action::handle_paypal(Object(Forminator_Form_Entry_Model))/home/dh_vdjvx2/ica.maybeso.net/wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.php:9456.Forminator_CForm_Front_Action->handle_form()/home/dh_vdjvx2/ica.maybeso.net/wp-content/plugins/forminator/library/abstracts/abstract-class-front-action.php:4507.Forminator_Front_Action->save_entry(”)/home/dh_vdjvx2/ica.maybeso.net/wp-includes/class-wp-hook.php:30810.do_action(‘wp_ajax_formina…’)/home/dh_vdjvx2/ica.maybeso.net/wp-admin/admin-ajax.php:18811.{main}thrown in /home/dh_vdjvx2/ica.maybeso.net/wp-content/mu-plugins/forminator-paypal-toggle.php on line 71
The page I need help with: [log in to see the link]
The topic ‘An error occurred while processing the form.’ is closed to new replies.