Issue angelegt HTTP Error 500 in Artikelliste (Einstellung 1509 - Bestseller gruppieren)

Groundhog

Sehr aktives Mitglied
11. Januar 2011
384
32
Austria
Hallo,

Ich hatte im Testshop 5.0.0 RC 3 gestern mal Daten eingespielt und mich durch die Einstellungen gehangelt. Nach dem Ändern von Einstellungen unter "SUCHE" war die Artikelliste ohne Unterkategorien nicht mehr erreichbar. HTTP Error 500.

Scheinbar liegt das an der Einstellung 1509 - Bestseller gruppieren. Schalte ich hier auf Ja wird folgender Fehler produziert:

PHP:
[Thu Nov 26 00:51:52.404046 2020] [proxy_fcgi:error] [pid 12926:tid 139973353223936] [client 93.83.160.12:60081] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: Argument 1 passed to JTL\\Catalog\\Product\\Bestseller::setProducts() must be of the type array, object given, called in /home/webloabu/test.weblove.at/includes/src/Catalog/Product/Bestseller.php on line 56 and defined in /home/webloabu/test.weblove.at/includes/src/Catalog/Product/Bestseller.php:75\nStack trace:\n#0 /home/webloabu/test.weblove.at/includes/src/Catalog/Product/Bestseller.php(56): JTL\\Catalog\\Product\\Bestseller->setProducts()\n#1 /home/webloabu/test.weblove.at/includes/src/Catalog/Product/Bestseller.php(42): JTL\\Catalog\\Product\\Bestseller->setOptions()\n#2 /home/webloabu/test.weblove.at/includes/src/Catalog/Product/Bestseller.php(197): JTL\\Catalog\\Product\\Bestseller->__construct()\n#3 /home/webloabu/test.weblove.at/filter.php(108): JTL\\Catalog\\Product\\Bestseller::buildBestsellers()\n#4 /home/webloabu/test.weblove.at/index.php(13): require('/home/webloabu/...')\n#5 {main}\n thrown in /home/webloabu/test.weblove.at/includes/src/Catalog/Product/B...', referer: http://test.weblove.at/airbrush_2

Mein Hoster meinte es würde für ihn danach aussehen, dass "setProducts" in der Klasse "JTL/Catalog/Product/Bestseller" nicht korrekt angesprochen werden kann: Object statt Array. Ist das reproduzierbar?
 

Ähnliche Themen