Last modified: 2005-11-05 08:39:10 UTC
I just created a user account at www.mediawiki.org, and when I went to the
preferences page, the following error was reported:
Warning: Invalid argument supplied for foreach() in
/usr/local/apache/common-local/php-1.5/includes/SpecialPreferences.php on line 570
Apart from browsing the site, this was the first action I performed having
created my account. I don't want to clutter the site up with a bunch of
unwanted users, so I have not tried to replicate the problem, but subsequent
visits to this page still generate the error. Preference changes seem to be
*** Bug 3881 has been marked as a duplicate of this bug. ***
The issue is I believe triggered by an unsupported language being set for
$wgLanguageCode. Due to the way things are set up, the site defaulted to a language
code of "mediawiki" instead of "en". ;)
I've set it to "en", but still need to kill the bug in the code.
Fixed in HEAD, rev 1.144 of SpecialPreferences.php.
*** Bug 2978 has been marked as a duplicate of this bug. ***