I’m trying to import around 500 clients via csv and i can do that fine no problem with the pre-existing fields in the clients sections but hitting an issue with custom fields.
I have added a Custom Field called ‘Contact Name’ in the clients part and it has given the column name as ‘client_custom_contact_name’ so that’s what i’ve put in my csv as another column and most of the records have something in this.
When i import the data, it fails returning this information:
A PHP Error was encountered
Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: models/mdl_import.php
Line Number: 414
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /customers/2/8/4/viehome.co.uk/httpd.www/accounts/system/core/Exceptions.php:185)
Filename: helpers/url_helper.php
Line Number: 542
If i leave out this column from the csv, all the clients import fine with no problems.
Apologies if i’m doing something wrong which is really obvious, but can anyone help at all?