1.5.7c
PHP 7.2
Edit Orders 4.6.0
Twitch Hidden Model for 1.5.7c
My log file keeps filling up with the below listed error. Any assistance would be greatly appreciated.
PHP Notice: Undefined offset: 1 in /includes/functions/functions_email.php on line 140
Code:
135 // clean up currencies for text emails
136 $zen_fix_currencies = preg_split("/[:,]/" , str_replace(' ', '', CURRENCIES_TRANSLATIONS));
137 $size = sizeof($zen_fix_currencies);
138 for ($i=0, $n=$size; $i<$n; $i+=2) {
139 $zen_fix_current = $zen_fix_currencies[$i];
140 $zen_fix_replace = $zen_fix_currencies[$i+1];
141 if (strlen($zen_fix_current)>0) {
142 while (strpos($email_text, $zen_fix_current)) $email_text = str_replace($zen_fix_current, $zen_fix_replace, $email_text);
143 }
144 }
Bookmarks