• Resolved kevinyap108

    (@kevinyap108)


    It return this error after I select the email field to be unique and save:
    foreach() argument must be of type array|object, string given

    function 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

    • This topic was modified 1 year, 11 months ago by kevinyap108.

The topic ‘foreach error?’ is closed to new replies.