Post by takayuki » Thu Oct 11, 2018 7:44 am

on a fresh 2.3.0.2 install orders were going straight to missing status and item qty was not subtracting.

PHP Fatal error: Call to a member function check() on a non-object in /catalog/model/checkout/order.php on line 267

the fix:

$fraud_status_id = $this->{'model_fraud_' . $extension['code']}->check($order_info);

is wrong.. it should be:

$fraud_status_id = $this->{'model_extension_fraud_' . $extension['code']}->check($order_info);

The first version is based on an older structure. It's calling a function which doesn't exist and throws a fatal error as a result.

New member

Posts

Joined
Thu Aug 13, 2009 10:16 pm

Post by straightlight » Fri Oct 12, 2018 4:17 am

Already fixed by previous reports.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by ivan2121 » Wed Aug 14, 2019 9:21 pm

I am receiving Missing Orders. Should I try this fix above on OC 2.3.0.2 ?

Newbie

Posts

Joined
Tue Aug 28, 2018 8:51 pm

Post by straightlight » Sat Aug 17, 2019 7:54 am

This fix has been long time reported but there are other topics on the forum that did indicated this proposed solution would solved the issue.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 3 guests