Author Topic: "Confirm purchase" Fatal error with TableOrders [fixed by updating]  (Read 555 times)

Tony M

  • Beginner
  • *
  • Posts: 4
  • A beginner
Hi!

Virtuemart 2.9.1 stable + Joomla 3.2.0

I get an error when trying to confirm purchase in cart:

Fatal error: Call to undefined method TableOrders::bindChecknStore() in /hermes/bosnaweb03a/b1707/ipg.metooeventscom/administrator/components/com_virtuemart/models/orders.php on line 869

Line 869:
Code: [Select]
$orderTable -> bindChecknStore($_orderData);
from
Code: [Select]
orderTable =  $this->getTable('orders');
$orderTable -> bindChecknStore($_orderData);
$errors = $orderTable->getErrors();
foreach($errors as $error){
vmError($error);
}

 Can anybody help?

Trying to solve it for the last 2 days :(

Thanks in advance

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27598
  • Always on vacation
    • Jenkin Hill Internet
Re: "Confirm purchase" Fatal error with TableOrders::bindChecknStore()
« Reply #1 on: February 12, 2016, 17:37:55 pm »

Virtuemart 2.9.1 stable + Joomla 3.2.0


VirtueMart 2.9.1 was not a stable version, but a beta version of the original VM3 (and is not secure) - stable version is now at VM3.0.12 
And that Joomla version is old, no longer supported and insecure.  Neither of these versions should be used on a live site.

It is very likely that your "bug" was fixed many versions ago so you would be well advised to update and then check if the issue remains. Check all updates on a backup copy of the live site.
http://forum.virtuemart.net/index.php?topic=118683.0
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VM 3.6.10.10211 on Joomla 3.9.13 PHP 7.0.33

Tony M

  • Beginner
  • *
  • Posts: 4
  • A beginner
Re: "Confirm purchase" Fatal error with TableOrders::bindChecknStore()
« Reply #2 on: February 14, 2016, 08:07:39 am »
Just updated Joomla and VM to the latest versions and everything works great! ;D ;D ;D

Thank you for the advice :D