Last modified: 2014-05-12 17:01:33 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 T67091, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65091 - PHP Fatal error: Call to a member function getDBkey() on a non-object in BadImageRemover.php on line 53
PHP Fatal error: Call to a member function getDBkey() on a non-object in Bad...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Flow (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 65129 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-09 19:30 UTC by Sam Reed (reedy)
Modified: 2014-05-12 17:01 UTC (History)
7 users (show)

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


Attachments

Description Sam Reed (reedy) 2014-05-09 19:30:41 UTC
[2014-05-09 19:20:00] Fatal error: Call to a member function getDBkey() on a non-object at /usr/local/apache/common-local/php-1.24wmf4/extensions/Flow/includes/Parsoid BadImageRemover.php on line 53
Server: mw1206
Method: GET
URL: http://www.mediawiki.org/w/api.php?action=query&format=json&list=flow&flowpage=Talk%3ASandbox&flowworkflow=rl7iby6wgksbpfno&flowaction=view&flowparams=%7B%22topiclist%22%3A%7B%22offset-dir%22%3A%22fwd%22%2C%22offset-id%22%3A%22rmtzyvv7pq389sag%22%2C%22limit%22%3A10%2C%22render%22%3Atrue%7D%7D
Backtrace:
#0 /usr/local/apache/common-local/php-1.24wmf4/extensions/Flow/includes/Parsoid/BadImageRemover.php(53): Flow\Parsoid\{closure}()
#1 /usr/local/apache/common-local/php-1.24wmf4/extensions/Flow/includes/Parsoid/BadImageRemover.php(84): Flow\Parsoid\{closure}(Object(DOMElement), Array)
#2 /usr/local/apache/common-local/php-1.24wmf4/extensions/Flow/includes/Parsoid/BadImageRemover.php(56): Flow\Parsoid\BadImageRemover::forEachImage(Object(DOMDocument), Object(Closure))
#3 /usr/local/apache/common-local/php-1.24wmf4/extensions/Flow/includes/Parsoid/Controller.php(65): Flow\Parsoid\BadImageRemover->apply('<p data-parsoid...', Object(Title))
#4 /usr/local/apache/common-local/php-1.24wmf4/extensions/Flow/includes/Parsoid/Controller.php(52): Flow\Parsoid\Controller->apply('<p data-parsoid...', Object(Title))
#5 /usr/local/apache/common-local/php-1.24wmf4/extensions/Flow/includes/Templating.php(462): Flow\Parsoid\Controller->getContent(Object(Flow\Model\PostRevision))
#6 /usr/local/apache/common-local/php-1.24wmf4/extensions/Flow/templates/post.html.php(179): Flow\Templating->getContent(Object(Flow\Model\PostRevision), 'html')
#7 /usr/local/apache/common-local/php-1.24wmf4/extensions/Flow/includes/Templating.php(133): include('/usr/local/apac...')
#8 /usr/local/apache/common-local/php-1.24wmf4/extensions/Flow/includes/Templating.php(106): Flow\Templating->_render('/usr/local/apac...', Array)
#9 /usr/local/apache/common-local/php-1.24wmf4/extensions/Flow/includes/Templating.php(181): Flow\Templating->render('flow:post.html....', Array, true)
#10 /usr/local/apache/common-local/php-1.24wmf4/extensions/Flow/templates/topic.html.php(258): Flow\Templating->renderPost(Object(Flow\Model\PostRevision), Object(Flow\Block\TopicBlock))
#11 /usr/local/apache/common-local/php-1.24wmf4/extensions/Flow/includes/Templating.php(133): include('/usr/local/apac...')
#12 /usr/local/apache/common-local/php-1.24wmf4/extensions/Flow/includes/Templating.php(106): Flow\Templating->_render('/usr/local/apac...', Array)
#13 /usr/local/apache/common-local/php-1.24wmf4/extensions/Flow/includes/Templating.php(215): Flow\Templating->render('flow:topic.html...', Array, true)
#14 /usr/local/apache/common-local/php-1.24wmf4/extensions/Flow/includes/Block/Topic.php(655): Flow\Templating->renderTopic(Object(Flow\Model\PostRevision), Object(Flow\Block\TopicBlock), true)
#15 /usr/local/apache/common-local/php-1.24wmf4/extensions/Flow/includes/Block/Topic.php(615): Flow\Block\TopicBlock->renderTopicAPI(Object(Flow\Templating), Object(ApiResult), Array)
#16 /usr/local/apache/common-local/php-1.24wmf4/extensions/Flow/includes/Block/TopicList.php(225): Flow\Block\TopicBlock->renderAPI(Object(Flow\Templating), Object(ApiResult), Array)
#17 /usr/local/apache/common-local/php-1.24wmf4/extensions/Flow/includes/api/ApiQueryFlow.php(37): Flow\Block\TopicListBlock->renderAPI(Object(Flow\Templating), Object(ApiResult), Array)
#18 /usr/local/apache/common-local/php-1.24wmf4/includes/api/ApiQuery.php(282): ApiQueryFlow->execute()
#19 /usr/local/apache/common-local/php-1.24wmf4/includes/api/ApiMain.php(913): ApiQuery->execute()
#20 /usr/local/apache/common-local/php-1.24wmf4/includes/api/ApiMain.php(363): ApiMain->executeAction()
#21 /usr/local/apache/common-local/php-1.24wmf4/includes/api/ApiMain.php(334): ApiMain->executeActionWithErrorHandling()
#22 /usr/local/apache/common-local/php-1.24wmf4/api.php(85): ApiMain->execute()
#23 /usr/local/apache/common-local/w/api.php(3): require('/usr/local/apac...')
#24 {main}
Comment 1 Gerrit Notification Bot 2014-05-09 22:14:31 UTC
Change 132523 had a related patch set uploaded by EBernhardson:
Expect null output from Title::newFromDBkey

https://gerrit.wikimedia.org/r/132523
Comment 2 Matthias Mullie 2014-05-10 13:01:19 UTC
*** Bug 65129 has been marked as a duplicate of this bug. ***
Comment 3 Gerrit Notification Bot 2014-05-12 17:01:33 UTC
Change 132523 abandoned by EBernhardson:
Expect null output from Title::newFromDBkey

Reason:
fixed in Icfc989cc773f4dadeb8f24f1b8e2447af8b400d3

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

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


Navigation
Links