php8: error in plugin require products addproducts_tocart.php line 41

19.10.2023 10:45
#1
ecoShopUser
Joomshopping forum user no avatar
Name: Andrea
13.08.2012
Сообщения: 250
Quote
php8: error in plugin require products addproducts_tocart.php line 41

Dear Joomshopping-Team,

After updating from php7 to php8, adding products to the shopping cart no longer works. We use the plugin "Require Products".

Error in plugin require products addproducts_tocart.php line 41
### 0 count(): Argument #1 ($value) must be of type Countable

We are still using Joomla 3, but want to switch to Joomla 4. Probably the error occurs in both systems.

Plugin Version: Require products 2.1.0

Thanks for your support.
Andrea


Joomla: Joomla! 3.10.12
JoomShopping: Version 4.18.9
 
20.10.2023 08:59
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25942
Quote
Aw: php8: error in plugin require products addproducts_tocart.php line 41

New version addons (Joomla 4 / Joomshopping 5) works with php 8
We recommend upgrading to the new version if you want to use php 8
------------------------
Require products 2.1.1 (Joomshopping 4.12.0 or higher) - works with php 8

 


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.