News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Error in PHP 8.1 because of clearcart=0 in the menu URL

Started by l_hendriksen, December 10, 2022, 13:10:12 PM

Previous topic - Next topic

l_hendriksen

Can someone help me with the clearcart=0 which is added to the URL. My provider wants all websites to go to PHP 8.1 since the websites are still on 7.4 and that clearcart is giving me a problem.

I have two websites with both Joomla 3.10.11 and VirtueMart 4.0.6 10690

The link in the first website is like this:
index.php?option=com_virtuemart&view=category&virtuemart_category_id=172&virtuemart_manufacturer_id=0

And the other one is like this:
index.php?option=com_virtuemart&view=category&virtuemart_category_id=9&virtuemart_manufacturer_id=0&clearCart=0

They are both operating fine with PHP 7.4 but once I switch to PHP 8.1 then the first keeps operating fine while the other website (with the clearcart in the link) throws this error: Unknown named parameter $title

Does anyone know which setting in VirtueMart is causing it to be added to the link?


jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

l_hendriksen

Thanks. It do not see the clearcart anymore in the link. But it hasn't solved my initial problem with PHP upgrade.

Also when I add a new menu item it is again in the link.

I will have to dig deeper :-(