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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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