Post by tdubs » Fri Jan 17, 2014 8:25 am

Hi there.

I'm having an issue with OC 1.5.6 with Openbay Pro. After a customer checks out and its being transferred back to my store, the following error message pops up:

Fatal error: Call to a member function orderNew() on a non-object in /home/cilantro/public_html/vqmod/vqcache/vq2-catalog_model_checkout_order.php on line 275

if I check that line in the vqmod cache, i get this:

274 if(!isset($passArray) || empty($passArray)){ $passArray = null; }
275 $this->openbay->orderNew((int)$order_id);

277 $this->cache->delete('product');

I recently updated from 1.5.5.1 and transferred my database to 1.5.6

New member

Posts

Joined
Wed Mar 06, 2013 10:21 pm

User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by fgrace » Wed Jan 22, 2014 11:03 pm

Hi

I am having same issue with v.1.5.6.1
I recently upgraded from v.1.5.3

When I try to enter my credit card details (using Realex payments redirect) I get the following error:

Fatal error: Call to a member function orderNew() on a non-object in /home/thelashe/public_html/catalog/model/checkout/order.php on line 214

Did you find a solution to this?

regards
FG

New member

Posts

Joined
Sat May 01, 2010 6:22 am

Post by oceanmedianow » Sat Feb 08, 2014 12:44 pm

Same here upgraded from 1.5.5.1 to 1.5.6 all other mods did fine.

Fatal error: Call to a member function orderNew() on a non-object in />>>>>>/vqmod/vqcache/vq2-catalog_model_checkout_order.php on line 274

This is the same up original poster, order goes through paypal and opencart, does not create the recurring profile and does not come back to site. All this i am doing in sandbox mode.

Everything else went smooth after I worked out some bugs from the upgrade. This is the only bug left and it's killing me.

Newbie

Posts

Joined
Tue Oct 08, 2013 11:28 am

Post by oceanmedianow » Fri Feb 14, 2014 12:53 pm

Anyone?

Newbie

Posts

Joined
Tue Oct 08, 2013 11:28 am

Post by oceanmedianow » Sun Feb 16, 2014 3:30 am

Detailing my issues in hopes someone finds a match. I will keep up with this thread and post my results.

Fatal error: Call to a member function orderNew() on a non-object in /..../......./../......../html/shop/vqmod/vqcache/vq2-catalog_model_checkout_order.php on line 262


traced it to here:

Code: Select all

$this->openbay->orderNew((int)$order_id);
These are the error logs from OC concerning one event.

Code: Select all

2014-02-15 10:24:53 - 
2014-02-15 10:24:53 - 
2014-02-15 10:24:53 - Transaction does not exist
2014-02-15 10:24:53 - Parent transaction not found

All this in sandbox mode.

Newbie

Posts

Joined
Tue Oct 08, 2013 11:28 am

Post by oceanmedianow » Mon Feb 17, 2014 1:14 am

[RESOLVED] for me at least. May not work if you are utilizing OpenBay. My issue was with paypal express.

in: vqmod/vqcache/vq2-catalog_model_checkout_order.php


changed:

Code: Select all

if(!isset($passArray) || empty($passArray)){ $passArray = null; }
            $this->openbay->orderNew((int)$order_id);
to:

Code: Select all

//if(!isset($passArray) || empty($passArray)){ $passArray = null; }
           // $this->openbay->orderNew((int)$order_id);
I just commented out these lines and all went through.

Newbie

Posts

Joined
Tue Oct 08, 2013 11:28 am

Post by dbateson » Fri Jul 04, 2014 9:54 pm

i had this problem after upgrading a site. it was caused by not having the latest version of the root index.php. i upgraded everything else but missed this. pretty sure its caused by the following not being in the root index.php of older versions of opencart:

Code: Select all

//OpenBay Pro
$registry->set('openbay', new Openbay($registry));

Newbie

Posts

Joined
Tue May 14, 2013 10:25 pm

Post by crea8media » Tue Sep 23, 2014 2:36 am

Hey,

sorry for being thick but how do I fix this without having vqmod installed?
The error is with my paypal express.

thanks

Newbie

Posts

Joined
Tue Sep 23, 2014 2:35 am
Who is online

Users browsing this forum: No registered users and 9 guests