Вернул php 7 при импорте появляется следующая ошибка:
PHP Warning: Parameter 3 to AdminImportControllerCore::fillInfo() expected to be a reference, value given in /AdminImportController.php on line 1006
foreach ($array as $k => $row) {
if (!call_user_func_array($funcname, array($row, $k, $user_data))) {
return false;
}
}
return true;
}
На одном форуме нашел совет поставить перед $user_data
знак & &$user_data
Импорт прошел - товар импортируется, но в админке сообщение об ошибке не исчезло (
В логе появилась следующая запись:
PHP Parse error: syntax error, unexpected '&' in /AdminImportController.php on line 1006
PHP Parse error: syntax error, unexpected end of file in /AdminImportController.php on line 3233
// checks if one product/attribute is there only once
if (isset($products[$id_product][$id_product_attribute])) {
$this->errors[] = sprintf($this->l('Product/Attribute (%d/%d) cannot be added twice (at line %d).'), $id_product,
$id_product_attribute, $current_line + 1);
} else {
$products[$id_product][$id_product_attribute] = $quantity_expected;
}