VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: radosc on January 14, 2025, 15:14:28 PM

Title: VM 4.4.4 problem with deleting products from the cart.
Post by: radosc on January 14, 2025, 15:14:28 PM
Joomla 3.10.12 and Joomla 4.4.9
VM 4.4.4
PHP 8.2.3

template: vp_merchant

After updating the VM to version 4.4.4, I receive a 500 error when trying to delete a product from the cart.
Error message data:
E_ERROR:1 0: Too few arguments to function VirtueMartCart::removeProductCart(), 0 passed in *********public_html/components/com_virtuemart/controllers/cart.php on line 445 and exactly 1 expected in file: /*********/public_html/components/com_virtuemart/helpers/cart.php line: 1312


I got back to the version VM 4.4.0 and it works fine.

Radek
Title: Re: VM 4.4.4 problem with deleting products from the cart.
Post by: iWim on January 16, 2025, 12:23:43 PM
Do you use a cart plugin?

I have the same error when I use Rupostel OPC.
(I reported it on their website)
Title: Re: VM 4.4.4 problem with deleting products from the cart.
Post by: radosc on January 16, 2025, 16:46:44 PM
Quote from: iWim on January 16, 2025, 12:23:43 PMDo you use a cart plugin?

I have the same error when I use Rupostel OPC.
(I reported it on their website)
Yes, I use OPC Rupostel :-) but not up to date, so maybe in the latest version this problem doesn't exist.