Hallo,
wir haben Xentral einen Artikel angelegt und diverse Varianten durch die Matrixprodukt-Funktion erstellt.
WIr wollten den Artikel dann mit allen Varianten zu Shopware 6.4.4 übertragen.
Dort kommt genau eine Variante an, der Rest wird ignoriert. Wir haben vorher die neuste Shopware Version im Einsatz gehabt und den Verdacht, das es daran liegen könnte. Leider hat sich nach der Installation von 6.4.4 auch nichts an dem Fehler geändert.
Der Prozess “artikelübertragen” liefert folgende Fehlermeldung im Log:
Array( [cmd] => cd /var/www/xentral/cronjobs && /usr/bin/php7.4 command.php 22 12294 2>&1 [parameter] => artikeluebertragen [returnvar] => 0 [lastLines] => Array ( [0] =>
Referer: --
[1] =>
UserAgent: --
[2] =>
AJAX-Request: false
[3] =>
HTTPS-Request: false
[4] =>
Timestamp: 1646151542
[5] =>
ArgumentCountError
Too few arguments to function Shopimporter_Shopware6::exportBulkPrices(), 2 passed in /var/www/xentral/www/pages/shopimporter_shopware6.php on line 3195 and exactly 3 expected | ||||||||
---|---|---|---|---|---|---|---|---|
|
) [output] => Array ( [0] => {"message":"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LEFT JOIN (SELECT nummer,artikel FROM artikelnummer_fremdnummern WHERE shopid=0 ' at line 7","context":{"exception":{"class":"mysqli_sql_exception","message":"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LEFT JOIN (SELECT nummer,artikel FROM artikelnummer_fremdnummern WHERE shopid=0 ' at line 7","code":1064,"file":"/var/www/xentral/phpwf/plugins/class.mysql.php:1505"}},"level":400,"level_name":"ERROR","channel":"production","datetime":"2022-03-01T17:19:03.225979+01:00","extra":{}} [1] => {"message":"ArgumentCountError: Too few arguments to function Shopimporter_Shopware6::exportBulkPrices(), 2 passed in /var/www/xentral/www/pages/shopimporter_shopware6.php on line 3195 and exactly 3 expected in /var/www/xentral/www/pages/shopimporter_shopware6.php:1323\nStack trace:\n#0 /var/www/xentral/www/pages/shopimporter_shopware6.php(3195): Shopimporter_Shopware6->exportBulkPrices('52c9bb726be8461...', Array)\n#1 /var/www/xentral/www/pages/shopimporter_shopware6.php(1299): Shopimporter_Shopware6->exportVariants(Array, '652bb94665d0490...', 'b7d2554b0ce847c...')\n#2 /var/www/xentral/www/lib/class.remote.php(2964): Shopimporter_Shopware6->ImportSendList()\n#3 /var/www/xentral/www/lib/class.remote.php(2833): Remote->handleInternalModuleCall(Object(App\\Modules\\Shop\\Models\\ShopConfig), 2, 'sendlist', Array)\n#4 /var/www/xentral/www/lib/class.remote.php(3166): Remote->RemoteCommand('2', 'sendlist', Array)\n#5 /var/www/xentral/www/lib/class.remote.php(2147): Remote->sendlist(0, '2', Array, true)\n#6 /var/www/xentral/cronjobs/artikeluebertragen.php(158): Remote->RemoteSendArticleList('2', Array)\n#7 /var/www/xentral/cronjobs/command.php(241): include('/var/www/xentra...')\n#8 {main}","context":{},"level":400,"level_name":"ERROR","channel":"production","datetime":"2022-03-01T17:19:08.923048+01:00","extra":{}} [2] => [3] => [4] => [5] => [6] => [7] => [47] => [48] =>
Xentral: Es ist ein unerwarteter Fehler aufgetreten!Too few arguments to function Shopimporter_Shopware6::exportBulkPrices(), 2 passed in /var/www/xentral/www/pages/shopimporter_shopware6.php on line 3195 and exactly 3 expected | |||||||||||
Systeminformationen[49] =>Software[50] =>Xentral-Revision: Xentral-Version: FPDF-Version: PHP[54] =>Version: Server-API: Binary-Pfad: php.ini: PHP-Einstellungen:[59] =>
PHP-Erweiterungen[65] =>Benötigt
Umgebung[67] =>Username: [68] =>Home-Directory: Document-Root: [70] =>Script-Filename: Script-Owner/-Group: Webserver[73] =>Software: Signatur: Host: ( Request[77] =>Schema: [78] =>Method/Uri: [79] =>Referer: UserAgent: AJAX-Request: HTTPS-Request: Timestamp: | ArgumentCountError
|
Beste Antwort von Dennis Frick
Original anzeigen