Page MenuHomePhabricator

Call to a member function getParserOutput() on a non-object
Closed, ResolvedPublic

Description

content hidden as private in Bugzilla


Version: unspecified
Severity: major

Details

Reference
bz41127

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 22 2014, 12:55 AM
bzimport set Reference to bz41127.
Reedy created this task.Oct 17 2012, 7:29 PM
Reedy added a comment.Oct 17 2012, 7:35 PM

[17-Oct-2012 19:07:59] Fatal error: Call to a member function getParserOutput()
on a non-object at
/usr/local/apache/common-local/php-1.21wmf2/includes/WikiPage.php on line 3352
Server: srv211
Method: GET
URL:
http://commons.wikimedia.org/w/index.php?title=File:Ward_Cunningham_-_Commons-1.jpg&diff=80998563&oldid=80471731&unhide=1
Backtrace:
#0 /usr/local/apache/common-local/php-1.21wmf2/includes/WikiPage.php(3352):
PoolWorkArticleView::doWork()
#1 /usr/local/apache/common-local/php-1.21wmf2/includes/PoolCounter.php(209):
PoolWorkArticleView->doWork()
#2 /usr/local/apache/common-local/php-1.21wmf2/includes/WikiPage.php(1108):
PoolCounterWork->execute()
#3
/usr/local/apache/common-local/php-1.21wmf2/includes/diff/DifferenceEngine.php(577):
WikiPage->getParserOutput(Object(ParserOptions), 80998563)
#4
/usr/local/apache/common-local/php-1.21wmf2/includes/diff/DifferenceEngine.php(545):
DifferenceEngine->getParserOutput(Object(WikiFilePage), Object(Revision))
#5
/usr/local/apache/common-local/php-1.21wmf2/includes/diff/DifferenceEngine.php(415):
DifferenceEngine->renderNewRevision()
#6 /usr/local/apache/common-local/php-1.21wmf2/includes/Article.php(817):
DifferenceEngine->showDiffPage(false)
#7 /usr/local/apache/common-local/php-1.21wmf2/includes/Article.php(550):
Article->showDiffPage()
#8 /usr/local/apache/common-local/php-1.21wmf2/includes/ImagePage.php(161):
Article->view()
#9
/usr/local/apache/common-local/php-1.21wmf2/includes/actions/ViewAction.php(37):
ImagePage->view()
#10 /usr/local/apache/common-local/php-1.21wmf2/includes/Wiki.php(428):
ViewAction->show()
#11 /usr/local/apache/common-local/php-1.21wmf2/includes/Wiki.php(305):
MediaWiki->performAction(Object(ImagePage))
#12 /usr/local/apache/common-local/php-1.21wmf2/includes/Wiki.php(554):
MediaWiki->performRequest()
#13 /usr/local/apache/common-local/php-1.21wmf2/includes/Wiki.php(447):
MediaWiki->main()
#14 /usr/local/apache/common-local/php-1.21wmf2/index.php(59): MediaWiki->run()
#15 /usr/local/apache/common-local/live-1.5/index.php(3):
require('/usr/local/apac...')
#16 {main}

Definitely ContentHandler

		$this->parserOutput = $content->getParserOutput( $this->page->getTitle(), $this->revid, $this->parserOptions );

Submitted fix: I8b80a6b7