Last modified: 2012-11-01 18:04:06 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 T43642, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41642 - TMH Fatal error: Call to a member function getText() on a non-object
TMH Fatal error: Call to a member function getText() on a non-object
Status: RESOLVED DUPLICATE of bug 41186
Product: MediaWiki extensions
Classification: Unclassified
TimedMediaHandler (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Michael Dale
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-01 16:47 UTC by Sam Reed (reedy)
Modified: 2012-11-01 18:04 UTC (History)
5 users (show)

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


Attachments

Description Sam Reed (reedy) 2012-11-01 16:47:38 UTC
[01-Nov-2012 16:45:12] Fatal error: Call to a member function getText() on a non-object at /usr/local/apache/common-local/php-1.21wmf2/includes/Message.php on line 632
Server: mw21
Method: POST
URL: http://en.wikipedia.org/w/index.php?title=User:RobLa-WMF/Video_testing&action=submit
Backtrace:
#0 /usr/local/apache/common-local/php-1.21wmf2/includes/Message.php(632): Message::parseText()
#1 /usr/local/apache/common-local/php-1.21wmf2/includes/Message.php(455): Message->parseText('Original ogg, 3...')
#2 /usr/local/apache/common-local/php-1.21wmf2/includes/Message.php(483): Message->toString()
#3 [internal function]: Message->__toString()
#4 /usr/local/apache/common-local/php-1.21wmf2/includes/Html.php(340): strval(Object(Message))
#5 /usr/local/apache/common-local/php-1.21wmf2/includes/Html.php(238): Html::dropDefaults('source', Array)
#6 /usr/local/apache/common-local/php-1.21wmf2/includes/Html.php(139): Html::openElement('source', Array)
#7 /usr/local/apache/common-local/php-1.21wmf2/includes/Html.php(167): Html::rawElement('source', Array, '')
#8 /usr/local/apache/common-local/php-1.21wmf2/extensions/TimedMediaHandler/TimedMediaTransformOutput.php(150): Html::element('source', Array)
#9 /usr/local/apache/common-local/php-1.21wmf2/extensions/TimedMediaHandler/TimedMediaTransformOutput.php(234): TimedMediaTransformOutput::htmlTagSet('source', Array)
#10 /usr/local/apache/common-local/php-1.21wmf2/extensions/TimedMediaHandler/TimedMediaTransformOutput.php(134): TimedMediaTransformOutput->getHtmlMediaTagOutput()
#11 /usr/local/apache/common-local/php-1.21wmf2/includes/Linker.php(690): TimedMediaTransformOutput->toHtml(Array)
#12 /usr/local/apache/common-local/php-1.21wmf2/includes/parser/Parser.php(5249): Linker::makeImageLink(Object(Parser), Object(Title), Object(ForeignDBFile), Array, Array, false, false, 4)
#13 /usr/local/apache/common-local/php-1.21wmf2/includes/parser/Parser.php(2002): Parser->makeImage(Object(Title), '', Object(LinkHolderArray))
#14 /usr/local/apache/common-local/php-1.21wmf2/includes/parser/Parser.php(1734): Parser->replaceInternalLinks2(false)
#15 /usr/local/apache/common-local/php-1.21wmf2/includes/parser/Parser.php(1172): Parser->replaceInternalLinks('[[File:Annie Oa...')
#16 /usr/local/apache/common-local/php-1.21wmf2/includes/parser/Parser.php(378): Parser->internalParse('[[File:Annie Oa...')
#17 /usr/local/apache/common-local/php-1.21wmf2/includes/cache/MessageCache.php(890): Parser->parse('[[File:Annie Oa...', Object(Title), Object(ParserOptions), true)
#18 /usr/local/apache/common-local/php-1.21wmf2/extensions/PageTriage/includes/ArticleMetadata.php(775): MessageCache->parse('[[File:Annie Oa...')
#19 /usr/local/apache/common-local/php-1.21wmf2/extensions/PageTriage/includes/ArticleMetadata.php(737): ArticleCompileSnippet::generateArticleSnippet('[[File:Annie Oa...')
#20 /usr/local/apache/common-local/php-1.21wmf2/extensions/PageTriage/includes/ArticleMetadata.php(438): ArticleCompileSnippet->compile()
#21 /usr/local/apache/common-local/php-1.21wmf2/extensions/PageTriage/includes/ArticleMetadata.php(406): ArticleCompileProcessor->process()
#22 /usr/local/apache/common-local/php-1.21wmf2/extensions/PageTriage/PageTriage.hooks.php(151): ArticleCompileProcessor->compileMetadata()
#23 [internal function]: PageTriageHooks::onArticleSaveComplete(Object(WikiPage), Object(User), '[[File:Annie Oa...', '[[WP:AES|???]]C...', 0, NULL, NULL, 97, Object(Revision), Object(Status), false)
#24 /usr/local/apache/common-local/php-1.21wmf2/includes/Hooks.php(253): call_user_func_array('PageTriageHooks...', Array)
#25 /usr/local/apache/common-local/php-1.21wmf2/includes/GlobalFunctions.php(3819): Hooks::run('ArticleSaveComp...', Array)
#26 /usr/local/apache/common-local/php-1.21wmf2/includes/content/ContentHandler.php(1064): wfRunHooks('ArticleSaveComp...', Array)
#27 /usr/local/apache/common-local/php-1.21wmf2/includes/WikiPage.php(1896): ContentHandler::runLegacyHooks('ArticleSaveComp...', Array)
#28 [internal function]: WikiPage->doEditContent(Object(WikitextContent), '', 97, false, NULL, 'text/x-wiki')
#29 /usr/local/apache/common-local/php-1.21wmf2/includes/Article.php(1937): call_user_func_array(Array, Array)
#30 [internal function]: Article->__call('doEditContent', Array)
#31 /usr/local/apache/common-local/php-1.21wmf2/includes/EditPage.php(1603): Article->doEditContent(Object(WikitextContent), '', 97, false, NULL, 'text/x-wiki')
#32 /usr/local/apache/common-local/php-1.21wmf2/includes/EditPage.php(1110): EditPage->internalAttemptSave(Array, false)
#33 /usr/local/apache/common-local/php-1.21wmf2/includes/EditPage.php(396): EditPage->attemptSave()
#34 /usr/local/apache/common-local/php-1.21wmf2/includes/actions/EditAction.php(51): EditPage->edit()
#35 /usr/local/apache/common-local/php-1.21wmf2/includes/actions/EditAction.php(71): EditAction->show()
#36 /usr/local/apache/common-local/php-1.21wmf2/includes/Wiki.php(428): SubmitAction->show()
#37 /usr/local/apache/common-local/php-1.21wmf2/includes/Wiki.php(305): MediaWiki->performAction(Object(Article))
#38 /usr/local/apache/common-local/php-1.21wmf2/includes/Wiki.php(554): MediaWiki->performRequest()
#39 /usr/local/apache/common-local/php-1.21wmf2/includes/Wiki.php(447): MediaWiki->main()
#40 /usr/local/apache/common-local/php-1.21wmf2/index.php(59): MediaWiki->run()
#41 /usr/local/apache/common-local/live-1.5/index.php(3): require('/usr/local/apac...')
#42 {main}
Comment 1 Aaron Schulz 2012-11-01 17:36:18 UTC
https://gerrit.wikimedia.org/r/#/c/31276
Comment 2 Niklas Laxström 2012-11-01 18:04:06 UTC
That fixes the symptom, not the issue (message parser is not re-entrant).

*** This bug has been marked as a duplicate of bug 41186 ***

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


Navigation
Links