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/
]]>ACF latest version installed, custom group created.
Added your plugin and imported but the ACF fields were nowhere to be seen – couldn’t assign any CVS contents to post fields.
I know everything is working as I tried another CSV import plugin.
https://www.ads-software.com/extend/plugins/spreadsheet-acf-import/
]]>Hi,
Just wondering with this import plugin, what if you upload a whole bunch of records and then want to update those records via another import where the data has slightly changed. Is this possible?
Cheers
Bhavesh
https://www.ads-software.com/extend/plugins/spreadsheet-acf-import/
]]>Hi, I have searched online and at GitHub in case someone else has experienced this; when I try to upload an Excel spreadsheet, I receive the following error:
Call to undefined method Acf::get_field_groups() in /home/content/28/9910428/html/db/wp-content/plugins/spreadsheet-acf-import/inc/model.class.php on line 168
The code at that line is:
// Advanced custom fields
if (array_key_exists(‘acf’, $GLOBALS)) {
$fieldgroups = $acf->get_field_groups();
I have tested a simple Excel db against all different post types and always get this error.
Any help/ideas? Thanks!
https://www.ads-software.com/extend/plugins/spreadsheet-acf-import/
]]>