Quote Originally Posted by frank18 View Post
It works with ZC 1.5.4 - have used it for years and upgraded 3 stores through the "ranks" (versions) without problems.

Just apply the fix I have posted above and you won't get any errors.
Is it just this fix below I have to apply?

Quote Originally Posted by frank18 View Post
Just upgraded a site to 1.5.4 running on PHP 5.4.39 and had this error whilst testing:



To fix this open your /includes/modules/payment/dirbankaus.php

Change

PHP Code:
// class methods 
    
function update_status() { 
      global 
$order$db
 
      if ( (
$this->enabled == true) && ((int)MODULE_PAYMENT_DIRBANKAUS_ZONE 0) ) { 
        
$check_flag false
to this

PHP Code:
// class methods 
    
function update_status() { 
      global 
$order$db
       
      if (
$this->enabled && (int)MODULE_PAYMENT_DIRBANKAUS_ZONE && isset($order->billing['country']['id'])) { 
        
$check_flag false
Note that I am in Australia, if you are using the USA equivalent replace DIRBANKAUS with DIRBANKUSA and similar for other countries.