Last modified: 2007-12-01 03:18:14 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 12153 - Fatal error: Class StubObject not found in ... ParserFunctions.php
Fatal error: Class StubObject not found in ... ParserFunctions.php
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
ParserFunctions (Other open bugs)
unspecified
PC Linux
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-11-30 02:22 UTC by Tom Scrape
Modified: 2007-12-01 03:18 UTC (History)
0 users

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


Attachments

Description Tom Scrape 2007-11-30 02:22:42 UTC
Using MediaWiki 1.7 on Debian Etch

I'm receiving the error:
Fatal error: Class 'StubObject' not found in /var/lib/mediawiki1.7/extensions/ParserFunctions/ParserFunctions.php on line 318

I'm using the latest versions of the three component files as linked from the installation instructions at: http://meta.wikimedia.org/wiki/Help:ParserFunctions#Installation 
For reference, I think the version of ParserFunctions.php is 27946.

Line 318 contains the only reference from the three files to StubObject:
root@spider:/var/lib/mediawiki1.7/extensions/ParserFunctions# grep Stub *
ParserFunctions.php:    if ( !StubObject::isRealObject( $wgParser ) ) {
 

It should be noted that I'm attempting to install the Todo_Tasks extension (http://www.mediawiki.org/wiki/Extension:Todo_Tasks) which relies in part on Parser Functions.  No other extensions are installed besides the related dependencies.


Thanks for your time.
Comment 1 Brion Vibber 2007-11-30 16:34:35 UTC
The StubObject class is not present in MediaWiki 1.7, which is a very old version of the software and likely not compatible with some current extensions. Upgrade to a current release (eg 1.11).
Comment 2 Tom Scrape 2007-12-01 03:18:14 UTC
(In reply to comment #1)
> The StubObject class is not present in MediaWiki 1.7, which is a very old
> version of the software and likely not compatible with some current extensions.
> Upgrade to a current release (eg 1.11).
> 

Thanks for the help.  That's not mentioned on the wiki page near the installation instructions, and it's also absent around the download area.  It would be helpful if the minimum version of Mediawiki required for the latest release of the extension was listed in those areas, especially since the page explicitly refers to several different versions of Mediawiki.  This would assist users who are unfamiliar with the extensions.

I may look at tracking Debian's testing release so that I can use the latest Parserfunctions.  Thanks again.


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


Navigation
Links