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

Coupons doesn't work with php 8.0.23

Started by DadoO, September 20, 2022, 14:40:40 PM

Previous topic - Next topic

Darko F.

J4
com_virtuemart.4.0.7.10730_package_or_extract.zip

If you visit any menu with  /my-menu?clearCart=1

and you have in your cart a product with coupon redeemed you will get error
0 Call to undefined method Joomla\Database\Mysqli\MysqliDriver::query()
Call stack
#   Function   Location
1   ()   JROOT/components/com_virtuemart/helpers/coupon.php:187


If there is no coupon redeemed to any product
then   /my-menu?clearCart=1  will empty your card as should.
There in no problem if you fall. Problem is if you don't get up

Milbo

Thank you, yes is fixed, was an overlooked "query()"
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/