Thread:Project:Support desk/Fatal error: Class 'FileRepo' not found in /homepages/21/d242594422/htdocs/mylatestobsession/wiki/includes/filerepo/LocalRepo.php on line 31

Versions: MediaWiki 1.22.2 PHP 5.4 Database?

http://wiki.mylatestobsession.com/index.php?title=Main_Page

Today I upgraded from MediaWiki 1.18.X. I was able to run the upgrade script with no trouble, but now I'm getting error "Fatal error: Class 'FileRepo' not found in /homepages/21/d242594422/htdocs/mylatestobsession/wiki/includes/filerepo/LocalRepo.php on line 31" on all my pages.

The part of my localrepo.php file referenced in the error looks like this, which as far as I can tell is correct.

''class LocalRepo extends FileRepo {

var $fileFactory          = array( 'LocalFile'  , 'newFromTitle' );

var $fileFactoryKey       = array( 'LocalFile'  , 'newFromKey'   );

var $fileFromRowFactory   = array( 'LocalFile'  , 'newFromRow'   );

var $oldFileFactory       = array( 'OldLocalFile', 'newFromTitle' );

var $oldFileFactoryKey    = array( 'OldLocalFile', 'newFromKey'   );

var $oldFileFromRowFactory = array( 'OldLocalFile', 'newFromRow'  );''

Another thing to mention is that in the same directory as LocalRepo.php, I have a FileRepo.php...which is completely empty. Is line 31 actually trying to reference that file and finding nothing there? If so, what do I put in the file? https://doc.wikimedia.org/mediawiki-core/master/php/html/FileRepo_8php_source.html isn't really copyable.

Any help please? I've tried googling around but I haven't found much at all.

Thank you!!