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.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


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 7 guests