ERROR 0 - count(): nach Update Joomla 4 Joomshopping 5.1.1

15.11.2022 21:40
#1
doris4
Joomshopping forum user no avatar
Name: Dreher
11.02.2013
Posts: 33
Quote
ERROR 0 - count(): nach Update Joomla 4 Joomshopping 5.1.1

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
 
16.11.2022 00:18
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25919
Quote
Aw: ERROR 0 - count(): nach Update Joomla 4 Joomshopping 5.1.1

Not see errors.

https://artgalerie-kreuzlingen.ch/web/index.php/shop-2/cart

----------
try clear cache / cookie

 
16.11.2022 19:46
#3
doris4
Joomshopping forum user no avatar
Name: Dreher
11.02.2013
Posts: 33
Quote
Aw: ERROR 0 - count(): nach Update Joomla 4 Joomshopping 5.1.1

Danke, ging auf einmal obwohl vorher schon diverse Male Cache gelöscht wurde.

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.