Last modified: 2010-05-15 15:56:49 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T8923, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6923 - Fatal error: Call to a member function on a non-object in includes/SkinTemplate.php on line 306
Fatal error: Call to a member function on a non-object in includes/SkinTempla...
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.6.x
PC Linux
: Normal critical (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-08-04 15:10 UTC by Alrik Ohnegrund
Modified: 2010-05-15 15:56 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Alrik Ohnegrund 2006-08-04 15:10:01 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
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-08-04 17:59:47 UTC
Editing [[MediaWiki:Sidebar]] can't affect whether a variable is an object or not.
Comment 2 Brion Vibber 2006-08-12 03:49:30 UTC
These are buggy extensions. Call the required functions in your extensions. Please see 
SpecialPage.php for the default implementation and reference comments.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links