I just run an impor with a typo in the value for _root which ended in an unhandled exception:
Warning: reset() expects parameter 1 to be array, null given in /basedir/app/code/community/AvS/FastSimpleImport/Model/Import/Entity/Category.php on line 799
A possible fix would be:
} elseif (isset($this->_categoriesWithRoots[$rowData[self::COL_ROOT]])) {
return reset($this->_categoriesWithRoots[$rowData[self::COL_ROOT]]);
} else {
return false;
}
Which causes the error Parent Category is not found, add parent first to be displayed in those cases.
I just run an impor with a typo in the value for _root which ended in an unhandled exception:
Warning: reset() expects parameter 1 to be array, null given in /basedir/app/code/community/AvS/FastSimpleImport/Model/Import/Entity/Category.php on line 799A possible fix would be:
Which causes the error
Parent Category is not found, add parent firstto be displayed in those cases.