Zen Cart Logo
Forums / Managing Customers and Orders / Fatal Error... need help

Fatal Error... need help

Locked

Views: 1,147

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
17 Jul 2006, 17:22
#1
pjb923 avatar

pjb923

Zen Follower

Join Date:
Jan 2005
Location:
NY
Posts:
135
Plugin Contributions:
0

Fatal Error... need help

I just received an e-mail from a customer trying to place an order. I have not made any changes to the site recently and don't know where this error came from.

Fatal error: Call to undefined function: update_credit_account() in /home/****/public_html/catalog2/includes/classes/order_total.php on line 124

This is the code that appears in order_total.php around line 124

function update_credit_account($i) {
if (MODULE_ORDER_TOTAL_INSTALLED) {
reset($this->modules);
while (list(, $value) = each($this->modules)) {
$class = substr($value, 0, strrpos($value, '.'));
if ( $GLOBALS[$class]->credit_class ) {
$GLOBALS[$class]->update_credit_account($i);
}
}
}
}

Any suggestions?