Currency enabled: Only EURO
I keep getting the following error and my error.log file is full of it. It becomes huge in size and I face disk capacity issues. The fix could be to set a cron job and delete it periodically or disable error logging. But the right solution is to find out why it is generated such an error. Could someone help me here?
PHP Notice: Undefined index: in /public_html/system/library/cart/currency.php on line 25,26, 27, 30
The code on these lines are the following:
Code: Select all
24 public function format($number, $currency, $value = '', $format = true) {
25 $symbol_left = $this->currencies[$currency]['symbol_left'];
26 $symbol_right = $this->currencies[$currency]['symbol_right'];
27 $decimal_place = $this->currencies[$currency]['decimal_place'];
28
29 if (!$value) {
30 $value = $this->currencies[$currency]['value'];
31 }
...