ufodepot Posted December 10, 2012 Posted December 10, 2012 I have replavced the file with a previous know good file and the message is still appearing on the front end of my website 9 times at the top of the page. Can anyone please help me with how to fix this problem. Deprecated: Function eregi() is deprecated in /home/content/s/c/i/scitechadmin/html/ufoexpo/catalog/admin/includes/classes/language.php on line 88
g2777 Posted December 10, 2012 Posted December 10, 2012 My 2.3.1 store has this: $this->language = $this->catalog_languages[$key]; at line 88 but it is part of an "if" statement on line 87 that looks like: if (preg_match('/^(' . $value . ')(;q=[0-9]\\.[0-9])?$/i', $this->browser_languages[$i]) && isset($this->catalog_languages[$key])) { $this->language = $this->catalog_languages[$key]; break 2; } I assume that your eregi() is in place of my preg_match()? I also assume that you are running 2.2? Not enough time in the day. Need a time machine... Would build one, but not enough time. Ironically.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.