I'm now getting this error..
Code:
[23-Jul-2021 13:15:54 Australia/Sydney] Request URI: /admin/index.php?cmd=orders&origin=index&page=1&oID=20&action=update_order&language=en, IP address: 60.
#1 dirbankaus->update_status() called at [/home2//public_html/.com.au/includes/modules/payment/dirbankaus.php:41]
#2 dirbankaus->__construct() called at [/home2//public_html/.com.au/admin/orders.php:521]
#3 require(/home2//public_html/.com.au/admin/orders.php) called at [/home2//public_html/.com.au/admin/index.php:11]
--> PHP Warning: Illegal string offset 'id' in /home2//public_html/.com.au/includes/modules/payment/dirbankaus.php on line 50.
I looked in that folder on line 50 and line 100 and here are the line codes from those:
Code:
$check = $db->Execute("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . MODULE_PAYMENT_DIRBANKAUS_ZONE . "' and zone_country_id = '" . $order->delivery['country']['id'] . "' order by zone_id");
Code:
function after_order_create($order_id) { $this->email_footer = sprintf(MODULE_PAYMENT_DIRBANKAUS_TEXT_EMAIL_FOOTER, $order_id);
}