lidlchris:
ok, i did this and when i went into my admin section it showed 'edit orders installed' message. So then i went to edit an order and this is what i got (fake admin address):
[14-Dec-2018 01:34:50 UTC] Request URI: /fakeadmin/edit_orders.php?page=1&oID=243424&action=update_order, IP address: 160.3.207.42
#1 zen_round() called at [/home/honor/public_html/includes/classes/currencies.php:94]
#2 currencies->value() called at [/home/honor/public_html/fakeadmin/includes/classes/editOrders.php:436]
#3 editOrders->eoRoundCurrencyValue() called at [/home/honor/public_html/fakeadmin/includes/classes/editOrders.php:441]
#4 editOrders->eoFormatCurrencyValue() called at [/home/honor/public_html/fakeadmin/edit_orders.php:475]
[14-Dec-2018 01:34:50 UTC] PHP Warning: A non-numeric value encountered in /home/honor/public_html/fakeadmin/includes/functions/general.php on line 1783
Here is the coding at that line:
function zen_round($value, $precision) {
$value = round($value *pow(10,$precision),0);
$value = $value/pow(10,$precision);
return $value;
}
Right, and if you didn't make the required changes to the /includes/classes/order.php, then the numeric value of those order-totals (which is what's being formatted at the time of the error) won't be properly set.