|
fatal error mb_regex_encoding |
Fatal error: Call to undefined function mb_regex_encoding() in /home/MYDOMAIN/public_html/administrator/components/com_k2/tables/k2item.php on line 75
The affected files are "k2category.php" and "k2item.php" in .../administrator/components/com_k2/tables/
and "route.php" in .../components/com_k2/helpers/.
Modifications - commenting out the lines with mb_regex and mb_ereg... as shown...
@ route.php, lines 56 & 59:
mb_internal_encoding("UTF-8");
// mb_regex_encoding("UTF-8");
$alias = trim(mb_strtolower($user->name));
$alias = str_replace('-', ' ', $alias);
// $alias = mb_ereg_replace('[[:space:]]+', ' ', $alias);
@ k2category.php, lines 50 & 53:
mb_internal_encoding("UTF-8");
// mb_regex_encoding("UTF-8");
$this->alias = trim(mb_strtolower($this->alias));
$this->alias = str_replace('-', ' ', $this->alias);
// $this->alias = mb_ereg_replace('[[:space:]]+', ' ', $this->alias);
@ k2item.php, lines 75 & 78:
mb_internal_encoding("UTF-8");
// mb_regex_encoding("UTF-8");
$this->alias = trim(mb_strtolower($this->alias));
$this->alias = str_replace('-', ' ', $this->alias);
// $this->alias = mb_ereg_replace('[[:space:]]+', ' ', $this->alias);
This modifications are really nonprofessional but they work for me very fine!
|