foreach error?
-
It return this error after I select the email field to be unique and save:
foreach() argument must be of type array|object, string givenfunction duplicateKiller_cf7_validate_input($input){ $output = array(); // Create our array for storing the validated options foreach($input as $key =>$value){ foreach($value as $arr => $asc){ //check if someone putting in ‘dog’ when the only valid values are numbers if($asc !== "1"){ $value[$arr] = "1"; $output[$key] = $value; }else{
contact form 7 – Version 5.9.5
contact form CFDB7 – Version 1.2.7
duplicate killer – Version 1.1.7
- You must be logged in to reply to this topic.