Author: dejfson
Description:
By using unicode encoding by default in gentoo MediaWiki complains about
non-existent? callback to utf8_encode. The error seems to be related to line
115, where array_map using utf8_encode translates strings:
$trans = array_map( 'utf8_encode', $trans );
This creates tons of warnings when opening every page of mediawiki.
Warning: array_map() [function.array-map]: The first argument, 'utf8_encode',
should be either NULL or a valid callback in
/var/www/localhost/htdocs/lhc-project-bcts/includes/GlobalFunctions.php on line 115
Warning: Invalid argument supplied for foreach() in
/var/www/localhost/htdocs/lhc-project-bcts/includes/GlobalFunctions.php on line 130
Warning: implode() [function.implode]: Bad arguments. in
/var/www/localhost/htdocs/lhc-project-bcts/includes/GlobalFunctions.php on line 133
Warning: array_map() [function.array-map]: The first argument, 'utf8_encode',
should be either NULL or a valid callback in
/var/www/localhost/htdocs/lhc-project-bcts/includes/GlobalFunctions.php on line 115
Warning: Invalid argument supplied for foreach() in
/var/www/localhost/htdocs/lhc-project-bcts/includes/GlobalFunctions.php on line 130
Warning: implode() [function.implode]: Bad arguments. in
/var/www/localhost/htdocs/lhc-project-bcts/includes/GlobalFunctions.php on line 133
Version: 1.6.x
Severity: major
OS: Linux
Platform: PC