Last modified: 2010-05-15 15:56:49 UTC
blocks any specialpage "Fatal error: Call to a member function on a non-object in includes/SkinTemplate.php on line 306" Happens every time I try to open any special page. So it's really a blocker bug. I've tracked down to the functioncall $wgArticle->getID() If you search teh web using google ("member function non-objekt SkinTemplate.php line 306") you find several wikis that also have this problem. In most cases it seems to be connected with a mediawiki-extension (e.g. Blogextension) but in my case it is surely not as I disabled every extension in LocalSettings.php. In some cases adding of $wgOut->setArticleRelated( false ) to the extension.php helps but in my case I don't know where to add, as I don't use any extension. Perhaps there is a connection with editing of [[Mediawiki:Sidebar]] as it occured the first time shortly after creating a new sidebar. Regards Alrik
Editing [[MediaWiki:Sidebar]] can't affect whether a variable is an object or not.
These are buggy extensions. Call the required functions in your extensions. Please see SpecialPage.php for the default implementation and reference comments.