Call to undefined method Joomla\Database\Mysqli\MysqliDriver::query()

Started by Gingerweb, December 10, 2022, 09:19:45 AM

Previous topic - Next topic

Gingerweb

J4 VM4.0.7 10717 PHP 8 (also tried 7.4)

I get this error after "confirm purchase" i have tried a couple of different carts and a couple of different paypal payment plugins but get the same each time. Everything else appears to be working fine.
with debugging turned on i get the below - it doesnt mean anything to me is there something relevant in this please?

#    Function    Location
1    ()    JROOT/components/com_virtuemart/helpers/coupon.php:187
2    CouponHelper::setInUseCoupon()    JROOT/administrator/components/com_virtuemart/models/orders.php:1812
3    VirtueMartModelOrders->_createOrder()    JROOT/administrator/components/com_virtuemart/models/orders.php:1638
4    VirtueMartModelOrders->createOrderFromCart()    JROOT/components/com_virtuemart/helpers/cart.php:1820
5    VirtueMartCart->confirmedOrder()    JROOT/components/com_virtuemart/helpers/cart.php:1530
6    VirtueMartCart->confirmDone()    JROOT/components/com_virtuemart/controllers/cart.php:93
7    VirtueMartControllerCart->display()    JROOT/components/com_virtuemart/controllers/cart.php:200
8    VirtueMartControllerCart->updatecart()    JROOT/libraries/src/MVC/Controller/BaseController.php:672
9    Joomla\CMS\MVC\Controller\BaseController->execute()    JROOT/components/com_virtuemart/virtuemart.php:128
10    require_once()    JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
11    Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}()    JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
12    Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch()    JROOT/libraries/src/Component/ComponentHelper.php:355
13    Joomla\CMS\Component\ComponentHelper::renderComponent()    JROOT/libraries/src/Application/SiteApplication.php:200
14    Joomla\CMS\Application\SiteApplication->dispatch()    JROOT/libraries/src/Application/SiteApplication.php:241
15    Joomla\CMS\Application\SiteApplication->doExecute()    JROOT/libraries/src/Application/CMSApplication.php:294
16    Joomla\CMS\Application\CMSApplication->execute()    JROOT/includes/app.php:61
17    require_once()    JROOT/index.php:32

Gingerweb

Updated to com_virtuemart.4.0.10.10767.zip and all is well again!