Hallo
Nach dem Update auf Joomla 4 funktioniert der Warenkorb nicht mehr.
Es wird alles korrekt angezeigt, aber sobald der Warenkorb angewählt wird kommt folgender Fehler.
ERROR 0 - count(): Argument #1 ($value) must be of type Countable|array, null given in /srv/www/vhosts/../httpdocs/web/components/com_jshopping/Model/CartModel.php:56
Es sind keine weitern Module mehr installiert, nur Grundinstallation.
Weiss jemand an was dies liegt?
Beim Debuggen erscheint folgendes:
Call stack
# Function Location
1 () JROOT/components/com_jshopping/Model/CartModel.php:56
2 count() JROOT/components/com_jshopping/Model/CartModel.php:56
3 Joomla\Component\Jshopping\Site\Model\CartModel->loadProductsFromTempCart() JROOT/components/com_jshopping/Model/CartModel.php:72
4 Joomla\Component\Jshopping\Site\Model\CartModel->load() JROOT/components/com_jshopping/Controller/CartController.php:46
5 Joomla\Component\Jshopping\Site\Controller\CartController->add() JROOT/libraries/src/MVC/Controller/BaseController.php:672
6 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/components/com_jshopping/Controller/BaseController.php:42
7 Joomla\Component\Jshopping\Site\Controller\BaseController->execute() JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
8 Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355
9 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:200
10 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:241
11 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:294
12 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61
13 require_once() JROOT/index.php:32
Joomla: 4.2.5
JoomShopping: 5.1.1
PHP: 8
Website Url: https://artgalerie-kreuzlingen.ch/web/index.php/shop
JoomShopping: 5.1.1
PHP: 8
Website Url: https://artgalerie-kreuzlingen.ch/web/index.php/shop