Hello,
I think there is a bug in file upload since last version.
Error I get :
.384894 [NOTICE] [1917691] [T0] [88.126.132.98:8542-H3:49D17228021321FD-228#APVH_____:443] [STDERR] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function wpcf7_file_validation_filter(), 2 passed in /wp-includes/class-wp-hook.php on line 292 and exactly 3 expected in /wp-content/plugins/contact-form-7/modules/file.php:75Stack trace:#0 /wp-includes/class-wp-hook.php(292): wpcf7_file_validation_filter(Object(WPCF7_Validation), Object(WPCF7_FormTag))#1 /wp-includes/plugin.php(212): WP_Hook->apply_filters(Object(WPCF7_Validation), Array)#2 /wp-content/plugins/contact-form-7/includes/submission.php(366): apply_filters(‘wpcf7_validate_…’, Object(WPCF7_Validation), Object(WPCF7_FormTag))#3 /wp-content/plugins/contact-form-7/includes/submission.php(60): WPCF7_Submission->validate()#4 /wp in /wp-content/plugins/contact-form-7/modules/file.php on line 75
It seems that the error come from form-tags-manager.php line 242 :
if ( $feature ) { if ( ! $this->tag_type_supports( $tag->type, $feature ) and ! $feature_negative ) { continue; } elseif ( $this->tag_type_supports( $tag->type, $feature ) and $feature_negative ) { continue; } }
=> the feature_negative is not good, it should be reverse no ?
Thanks for your help.