Last modified: 2008-09-07 01:11:18 UTC
In a testwiki with FlaggedRevs enabled and wgForeignFileRepos set to Commons, on a certain page I get the following error: Fatal error: Call to a member function exists() on a non-object in /path/to/wiki/includes/filerepo/FileRepo.php on line 104 If either FlaggedRevs or wgForeignFileRepos is disabled, it works fine. The affected page contains Commons images, both directly and through templates, but other pages containing such images work. The images have not been flagged; image- and template-related FlaggedRevs settings are left at default. Both MediaWiki and FlaggedRevs are fresh (r40555).
.de wiki has this config and does not have this problem
More error handling added in r40560 in FileRepo.php, but this sounds more like some config is broken.
Seems to be fixed by that.