VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: ChrisTrembath on March 02, 2012, 22:26:08 PM

Title: Catchable fatal error: on checkout, and product updates
Post by: ChrisTrembath on March 02, 2012, 22:26:08 PM
Hi, I know people have posted this topic but I thought I would re post with my specific info.

I am getting an error on checkout:
Catchable fatal error: Object of class JDate could not be converted to string in /home/liquid/public_html/administrator/components/com_virtuemart/models/orders.php on line 997

It happens when I try to checkout with any payment but paypal, I offer paypal, purchase order and credit, I have an offline credit card plug-in which I purchased from virtuemart extensions.
It also happens when I try to update the status of an order from within the virtuemart control panel. Also when I try to print page an order

This has only started happening since the update of Virtuemart to 2.02.

I have tried in uninstalling the offline credit card plug-in to ensure its not that but it still does it when user selects purchase order.

I have also tried replacing orders.php with the orders.php from virtuemart 2.00 and the checkout then works, but the order confirmation email shows totally blank.

Any help or a quick fix would be greatly appreciated, I have always used the virtuemart software in catalogue mode this is my first time using as a shop so I'm pretty new to it.

Thanks in advance
Title: Re: Catchable fatal error: on checkout, and product updates
Post by: ChrisTrembath on March 03, 2012, 17:16:18 PM
Anyone? I would really appreciate the help as this is the only thing holding me from turning on all my advertising :(

Its been a perfect breeze setting up the shop until this little issue
Title: Re: Catchable fatal error: on checkout, and product updates
Post by: camel007 on March 20, 2012, 03:14:27 AM
Hi Did u find a fix?
Title: Re: Catchable fatal error: on checkout, and product updates
Post by: hkymre on March 22, 2012, 13:24:12 PM
Fix is here - http://forum.virtuemart.net/index.php?topic=98884.0
Title: Re: Catchable fatal error: on checkout, and product updates
Post by: camel007 on March 22, 2012, 19:27:07 PM
Cheers