Thread:Project:Support desk/Fatal Error when accessing SpecialPages

I am running MediaWiki on a Windows Server 2008R2 running XAMPP. It is on our intranet so I cannot post a link to it. I recently updated to MediaWiki 1.20.2 on XAMPP 1.8.1, which contains PHP 5.4.7 and MySQL 5.5.27. I updated to this two weeks ago and everything has been running well until today. Today, when I click on the "Special Pages" link in the Toolbox, I get the following error:

Fatal error: Call to a member function getLocalRepo on a non-object in C:\xampp\htdocs\wiki\includes\specials\SpecialUploadStash.php on line 52

Also, when I click on the "Upload file" link in the Toolbox, I get the following error:

Fatal error: Call to a member function getLocalRepo on a non-object in C:\xampp\htdocs\wiki\includes\GlobalFunctions.php on line 3483

The really strange thing, is that I can go directly to the Special:UserRightsList page of the extension UserRightsList, and it opens without incident. I can open Special:Preferences page without incident. I can open the Special:Version page without incident. I can open many of the Special Pages directly from the browser link.

I have modified the CSS of the Monobook skin extensively, but it has not changed the functionality.

Can anyone tell me what this error means and/or how to resolve it? Thanks in advance.

Benched42 (talk) 22:32, 26 February 2013 (UTC)