Ich arbeite mit einer leeren Neuinstallation. Lediglich die Kategorien wurden bereits über das Backend importiert.
System:
Shopware 5.6.2
PHP-Version: 7.2.23
MySQL: 10.2.27
Doch schon bei der bloßen Abfrage der vorhandenen Profile („php bin/console sw:importexport:profiles“) kommt es zum Fehler:
PHP Parse error: syntax error, unexpected ‚$value‘ (T_VARIABLE) in …/httpdocs/vendor/aws/aws-sdk-php/src/functions.php on line 36
-bash: syntax error near unexpected token `(’
Hier der Code, Line 36 ist „yield $value;“
(auch wenn ich hier nichts Verdächtiges entdecke)
/**
* Filters values that do not satisfy the predicate function $pred.
*
* @param mixed $iterable Iterable sequence of data.
* @param callable $pred Function that accepts a value and returns true/false
*
* @return \Generator
*/
function filter($iterable, callable $pred)
{
foreach ($iterable as $value) {
if ($pred($value)) {
yield $value;
}
}
}
Insgesamt geht es um roundabout 12.000 Artikel.
Diese sollen künftig zumindest täglich optimiert und aktualisiert werden.
Daher der Funktionstest auf der Konsole.