Last modified: 2012-04-19 21:22:17 UTC
I've been getting this error on a test wiki I have the latest 1.18 checked out on. The error shows up when I visit the edit page. Warning: Invalid argument supplied for foreach() in /languages/Language.php on line 423 Note that this test wiki has CACHE_NONE set since I'm developing. That could be related to the situation where that error shows up.
Might be the same in trunk, at line 460
Perhaps. Though for some reason I only get it in 1.18.
This seams to be related to the LocalizationCache. Running `php maintenance/rebuildLocalisationCache.php --force` does get rid of the error. The problem though is why was that not when I upgraded the wiki with update.php? If we aren't rebuilding the cache when wikis upgrade we can expect a lot of people complaining in #mediawiki.
I would recommend to make update.php to purge or regenerate the localisation caches.
(In reply to comment #3) > This seams to be related to the LocalizationCache. Running `php > maintenance/rebuildLocalisationCache.php --force` does get rid of the error. Release notes?
(In reply to comment #4) > I would recommend to make update.php to purge or regenerate the localisation > caches. That's what I just wanted to add to this thread when I saw Niklas had already added it. Niklas, can you add this?
r101499 Just needs 1.18 backporting now
(In reply to comment #7) > r101499 > > Just needs 1.18 backporting now I think you meant r101449; 101499 hasn't been checked in yet. ;)