VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: crazymesut on April 24, 2016, 19:08:16 PM

Title: VirtueMartModelOrders::getOrder()
Post by: crazymesut on April 24, 2016, 19:08:16 PM
Strict Standards: Non-static method VirtueMartModelOrders::getOrder() should not be called statically, assuming $this from incompatible context in /home/***/***/public/***/plugins/vmpayment/***/***.php on line 174


What the error?

How can I fix
Title: Re: VirtueMartModelOrders::getOrder()
Post by: crazymesut on April 24, 2016, 19:25:11 PM
I found the solution

$vmorders= new VirtueMartModelOrders();
$order=$vmorders->getOrder($virtuemart_order_id);