Last modified: 2007-12-01 03:18:14 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 T14153, the corresponding Phabricator task for complete and up-to-date bug report information.
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