Page MenuHomePhabricator

ProofreadPagePHP Fatal error: Call to a member function normaliseParams() on a non-object in Proofread Page.body.php on line 232
Closed, ResolvedPublic

Description

[07-Oct-2013 19:19:00] Fatal error: Call to a member function normaliseParams() on a non-object at /usr/local/apache/common-local/php-1.22wmf20/extensions/ProofreadPage/ProofreadPage.body.php on line 232
Server: mw1173
Method: GET
URL: http://fr.wikisource.org/wiki/Page:Leroux_-_L'Epouse_du_Soleil.djvu/53
Backtrace:
#0 /usr/local/apache/common-local/php-1.22wmf20/extensions/ProofreadPage/ProofreadPage.body.php(232): ProofreadPage::preparePage()
#1 /usr/local/apache/common-local/php-1.22wmf20/extensions/ProofreadPage/ProofreadPage.body.php(186): ProofreadPage::preparePage(Object(OutputPage), Array, false)
#2 [internal function]: ProofreadPage::onBeforePageDisplay(Object(OutputPage), Object(SkinVector))
#3 /usr/local/apache/common-local/php-1.22wmf20/includes/Hooks.php(199): call_user_func_array('ProofreadPage::...', Array)
#4 /usr/local/apache/common-local/php-1.22wmf20/includes/GlobalFunctions.php(3917): Hooks::run('BeforePageDispl...', Array)
#5 /usr/local/apache/common-local/php-1.22wmf20/includes/OutputPage.php(2069): wfRunHooks('BeforePageDispl...', Array)
#6 /usr/local/apache/common-local/php-1.22wmf20/includes/Wiki.php(607): OutputPage->output()
#7 /usr/local/apache/common-local/php-1.22wmf20/includes/Wiki.php(467): MediaWiki->main()
#8 /usr/local/apache/common-local/php-1.22wmf20/index.php(49): MediaWiki->run()
#9 /usr/local/apache/common-local/w/index.php(3): require('/usr/local/apac...')
#10 {main}


Version: master
Severity: normal

Details

Reference
bz55439

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:14 AM
bzimport added a project: ProofreadPage.
bzimport set Reference to bz55439.
bzimport added a subscriber: Unknown Object (MLST).

It looks like this bug is cause by a problem in the media management system. Image::getHandler() returns false for the file https://commons.wikimedia.org/wiki/File:Leroux_-_L%27Epouse_du_Soleil.djvu because it has the unknown/unknown MIME type.

I think that the real cause of this specific issue is in the Wikimedia Commons side (but ProofreadPage shouldn't fail like that).

Change 88217 had a related patch set uploaded by Tpt:
(bug 55439) Fix an error when an image has an unknown media type

https://gerrit.wikimedia.org/r/88217

Change 88217 merged by jenkins-bot:
(bug 55439) Fix an error when an image has an unknown media type

https://gerrit.wikimedia.org/r/88217