Fatal Error while upgrading from 1.16.5 to 1.17

Jump to: navigation, search

After upgrading my wiki from MW 1.16.5 to 1.17 (release 1.17.0) I get this:

   Fatal error: Call to a member function setCacheTime() on a non-object in (path-to-wiki)/includes/parser/Parser.php on line 4771

when I open a special page that doesn't refer to the database or run update.php. What can it be&

178.72.112.15112:19, 25 June 2011

Are you sure you upgraded all the files for your wiki?

Emufarmers(T|C)11:54, 26 June 2011
 

Ran into this problem too. I ended up commenting out $this->mOutput->setCacheTime( -1 ); // old style, for compatibility

$this->mOutput->updateCacheExpiry( 0 ); // new style, for consistency in the Parser.php file just to get my wiki working again.

Heres what i did.

  • Downloaded the mediawiki-1.17.0.tar.gz file to my home computer, uncompressed, ftp'ed files to my web host overwriting all files (just like i have been doing for years with MW)
  • Tried uploading mediawiki-1.17.0.tar.gz to my web server and uncompressing it there
  • Ran into the same Fatal error doing it both ways.


Updated a second wiki (local, on my home linux server), alittle older wiki 1.16.x (not .5 but but still under 1.16 (sorry cant rember the version)) and had no problem at all, update whent nice and smooth.

  • Tried changing the default skin (was using custom) on the Fatal error wikis (shot in the dark, only noticable different), made no difference.

IMisspell 20:37, 26 June 2011 (UTC)

20:37, 26 June 2011
 

I can second that, I upgraded all files, and after running the update.php I run into the same message

83.65.127.17808:04, 27 June 2011

Which extensions are you using. Does the error persist when disabling all your extensions. (That method is only used in core when transcluding [not when viewing] a special page, so if you're getting that method, something else must be calling that method).

Bawolff21:05, 27 June 2011

I had this prob, it seems to come in from the vb single sign on plugin I use: AuthPlugin_vBSSO.php Remove this and the error goes.

Not sure how to fix though? Is the prob because the plugin is calling the disable cache function? I guess I could remove that but not sure what the author is trying to acheive, here's the code:

global $wgEnableParserCache, $wgParser, $wgOut, $wgCachePages;

$wgEnableParserCache = false; if ($wgParser) $wgParser->disableCache();

82.43.85.24015:18, 3 July 2011

AuthPlugins shouldn't do that. Doing that can make your site very slow (when its not causing fatal's). Basically its a problem because its trying to disable the parser cache before the parser is initialized.

Bawolff15:38, 4 July 2011

I made a very primative page for information about this extension here: Extension:VBulletin. I put the code for the extension on the talk page there.

Cheers,

Dmb12:19, 29 September 2011
 
 
 
 
 
Personal tools

Variants
Actions
Navigation
Support
Download
Development
Communication
Toolbox