Last modified: 2013-04-22 16:16:32 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 T43127, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41127 - Call to a member function getParserOutput() on a non-object
Call to a member function getParserOutput() on a non-object
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
ContentHandler (Other open bugs)
unspecified
All All
: Highest major (vote)
: ---
Assigned To: Daniel Kinzler
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-17 19:29 UTC by Sam Reed (reedy)
Modified: 2013-04-22 16:16 UTC (History)
4 users (show)

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


Attachments

Comment 1 Sam Reed (reedy) 2012-10-17 19:35:19 UTC
[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}
Comment 2 Sam Reed (reedy) 2012-10-17 22:08:31 UTC
Definitely ContentHandler

		$this->parserOutput = $content->getParserOutput( $this->page->getTitle(), $this->revid, $this->parserOptions );
Comment 3 Daniel Kinzler 2012-10-18 12:46:20 UTC
Submitted fix: I8b80a6b7
Comment 4 Sam Reed (reedy) 2012-10-18 14:17:23 UTC
Merged

1.21wmf2 is https://gerrit.wikimedia.org/r/28514

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


Navigation
Links