i'm importing products with multiple variants using two files, father products (fileArticoli.csv) and son products (fileArticoliFigli.csv)
In some products i get this warning:
Warning: Invalid argument supplied for foreach() in /var/www/clients/client0/web8/web/components/com_virtuemart/sublayouts/customfield.php on line 158
line 158 in that file is
foreach($customfield->selectoptions as $k => $soption){
and no multiple variants are found in the product.
There are two strange things
- tried to delete the product and import that again (creating two files only for this product deleting all other lines), i get no errors, also importing it several times
- running the cron import (same template) the errors gets out also in some othet products
Could you please tell me where can i send you private information (log, templates, import files etc.)?
Joomla! version: 3.8.6
Version of the extension you are using: VirtueMart 3.2.12
CSVI version: 7.5.1
PHP version 5.6.14-0+deb8u1