forminator_custom_form_submit_field_data is not working. Showing error !
-
when using “forminator_custom_form_submit_field_data” hook below error show in the log. is there any solution for this?
[09-Aug-2023 10:41:24 UTC] PHP Warning: Invalid argument supplied for foreach() in C:\wamp64\www\office\wp-content\plugins\forminator\library\modules\custom-forms\front\front-action.php on line 1211
[09-Aug-2023 10:41:24 UTC] PHP Stack trace:
[09-Aug-2023 10:41:24 UTC] PHP 1. {main}() C:\wamp64\www\office\wp-admin\admin-ajax.php:0
[09-Aug-2023 10:41:24 UTC] PHP 2. do_action($hook_name = ‘wp_ajax_forminator_submit_form_custom-forms’) C:\wamp64\www\office\wp-admin\admin-ajax.php:188
[09-Aug-2023 10:41:24 UTC] PHP 3. WP_Hook->do_action($args = [0 => ”]) C:\wamp64\www\office\wp-includes\plugin.php:517
[09-Aug-2023 10:41:24 UTC] PHP 4. WP_Hook->apply_filters($value = ”, $args = [0 => ”]) C:\wamp64\www\office\wp-includes\class-wp-hook.php:334
[09-Aug-2023 10:41:24 UTC] PHP 5. Forminator_Front_Action->save_entry(”) C:\wamp64\www\office\wp-includes\class-wp-hook.php:310
[09-Aug-2023 10:41:24 UTC] PHP 6. Forminator_CForm_Front_Action->handle_form($preview = uninitialized) C:\wamp64\www\office\wp-content\plugins\forminator\library\abstracts\abstract-class-front-action.php:450
[09-Aug-2023 10:41:24 UTC] PHP 7. Forminator_CForm_Front_Action::maybe_create_post() C:\wamp64\www\office\wp-content\plugins\forminator\library\modules\custom-forms\front\front-action.php:950
[09-Aug-2023 10:41:24 UTC] PHP 8. Forminator_CForm_Front_Action::get_post_data_fields() C:\wamp64\www\office\wp-content\plugins\forminator\library\modules\custom-forms\front\front-action.php:1093
[09-Aug-2023 10:41:24 UTC] PHP 9. Forminator_CForm_Front_Action::get_specific_field_data($type = ‘postdata’) C:\wamp64\www\office\wp-content\plugins\forminator\library\modules\custom-forms\front\front-action.php:1060
[09-Aug-2023 10:41:24 UTC] PHP Warning: Invalid argument supplied for foreach() in C:\wamp64\www\office\wp-content\plugins\forminator\library\modules\custom-forms\front\front-action.php on line 1431
[09-Aug-2023 10:41:24 UTC] PHP Stack trace:
- The topic ‘forminator_custom_form_submit_field_data is not working. Showing error !’ is closed to new replies.