• Uploading Excel file gives me the following error:

    Invalid argument supplied for foreach() in …\wp-content\plugins\spreadsheet-acf-import\template\warning-log.php on line 16

    And this is what I get on warning-lop.php — >

    Error logs

    $validation) {
    print(“Row $row had the following invalid fields: “);

    $names = array();

    foreach ($validation as $field) {
    $names[] = $field[‘name’];
    }

    print(implode(‘, ‘, $names) . “\n”);
    }

    foreach ($uniques as $unique) {
    print(
    “Row {$unique[‘realrow’]} did not pass the unique test. “
    . “Possible duplicate.\n”
    );
    }
    ?>

    https://www.ads-software.com/plugins/spreadsheet-acf-import/

  • The topic ‘Error when uploading Excel file’ is closed to new replies.