Last modified: 2010-05-15 15:56:49 UTC
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
This is in a required module of PHP. Your PHP configuration does not meet MediaWiki's minimum requirements to run. Bug is INVALID.