Closed Schrank closed 6 years ago
The NestedArrayAdapter tries to determine the first store code based on the last row: https://github.com/avstudnitz/AvS_FastSimpleImport/blob/develop/src/app/code/community/AvS/FastSimpleImport/Model/NestedArrayAdapter.php#L59-L62
NestedArrayAdapter
So before accessing $line['_store'][$newLineNumber] we must make sure that $line['_store'] is an array.
$line['_store'][$newLineNumber]
$line['_store']
The
NestedArrayAdapter
tries to determine the first store code based on the last row: https://github.com/avstudnitz/AvS_FastSimpleImport/blob/develop/src/app/code/community/AvS/FastSimpleImport/Model/NestedArrayAdapter.php#L59-L62So before accessing
$line['_store'][$newLineNumber]
we must make sure that$line['_store']
is an array.