News:

Support the VirtueMart project and become a member

Main Menu

Unable to change the status of an order

Started by cat1910, August 28, 2023, 14:50:42 PM

Previous topic - Next topic

cat1910

Hi,

I have an eshop migrated from J3 / VM3
Now J4.3.4 / VM 4.2

When I try to change the order status in the backoffice, I get this error :
0 Call to undefined method Joomla\Database\Mysqli\MysqliDriver::query()

For information, I modified the file /plugins/vmcustom/ordersave/ordersave.php a few days ago because there was on old IsAdmin command.

I replaced line 31 :
   if (!$app->isAdmin()){
by :
   if (!$app->isClient('admin')){

The error "isAdmin" is not there anymore, but now I get  :
0 Call to undefined method Joomla\Database\Mysqli\MysqliDriver::query()

Can you help ?
Thanks,
Catherine

Jumbo!

plugins/vmcustom/ordersave/ordersave.php is a 3rd party plugin. It is not a part of the core VirtueMart component, and the plugin is incompatible with Joomla 4. Turn off this plugin and try again.

cat1910


GJC Web Design

Hi Catherine, have sent the updated ordersave plugin to your email -

It will at least save your orders to the table in the mean time until I get the Reviews ext. updated.

Just install as normal

John
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation