Hi
I have been looking at the debug log when using the WP Armour plugin version 2.1.4 with Fluent Forms version 5.0.7 and am seeing this message when I submit the form (whether acting as a bot or not, and also with PHP 7.4 and PHP 8.0:
[27-Jul-2023 09:16:17 UTC] PHP Deprecated: Hook fluentform_before_insert_submission is <strong>deprecated</strong> since version 4.3.22! Use fluentform/before_insert_submission instead. Use fluentform/before_insert_submission instead of fluentform_before_insert_submission. in …./wp-includes/functions.php on line 5788
A one character change to the file listed in the link above fixes it:
I changed line 11 from
add_action( ‘fluentform/before_insert_submission’, ‘wpa_fluent_form_extra_validation’, 10
, 3 );
to
add_action( ‘fluentform/before_insert_submission’, ‘wpa_fluent_form_extra_validation’, 10,
3 );
I hope it’s as straightforward a change as it seems.
Thanks,
Anita
The page I need help with: [log in to see the link]
