Last modified: 2013-06-20 01:12:54 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 T45727, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43727 - Argument 1 passed to ContentHandler::getContentText() must implement interface Content
Argument 1 passed to ContentHandler::getContentText() must implement interfac...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
ReplaceText (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-08 09:35 UTC by s7eph4n
Modified: 2013-06-20 01:12 UTC (History)
3 users (show)

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


Attachments

Description s7eph4n 2013-01-08 09:35:43 UTC
Catchable fatal error: Argument 1 passed to ContentHandler::getContentText() must implement interface Content, boolean given, called in C:\xampp\htdocs\w\includes\Article.php on line 390 and defined in C:\xampp\htdocs\w\includes\content\ContentHandler.php on line 88

Call Stack:
    0.0006     359288   1. {main}() C:\xampp\htdocs\w\maintenance\runJobs.php:0
    0.0043     763240   2. require_once('C:\xampp\htdocs\w\maintenancedoMaintenance.php') C:\xampp\htdocs\w\maintenance\runJobs.php:116
    0.2191   16214600   3. RunJobs->execute() C:\xampp\htdocs\w\maintenance\doMaintenance.php:110
   12.9739   40491016   4. ReplaceTextJob->run() C:\xampp\htdocs\w\maintenance\runJobs.php:83
   12.9739   40492776   5. Article->fetchContent() C:\xampp\htdocs\w\extensions\ReplaceText\ReplaceTextJob.php:61
   12.9760   40495552   6. ContentHandler::getContentText() C:\xampp\htdocs\w\includes\Article.php:390


MediaWiki 	1.21alpha (1fc3960)
PHP 	5.3.8 (apache2handler)
MySQL 	5.5.16
Replace Text (Version 0.9.5) 	(329705e)
Comment 1 Yaron Koren 2013-01-08 22:12:22 UTC
This is due to the use of the Article::fetchContent() method - I didn't realize that method was now deprecated (as part of the new "ContentHandler" framework). I think I just fixed this in Git, so I'm marking this as "fixed". This also affects  a good number of other extensions, by the way, including Semantic Forms.

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


Navigation
Links