Last modified: 2013-02-19 15:59:42 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 41186 - Call to a member function getText() on a non-object at Message.php
Call to a member function getText() on a non-object at Message.php
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
LiquidThreads (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 41642 (view as bug list)
Depends on:
Blocks: 17553
  Show dependency treegraph
 
Reported: 2012-10-18 18:58 UTC by Sam Reed (reedy)
Modified: 2013-02-19 15:59 UTC (History)
4 users (show)

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


Attachments

Description Sam Reed (reedy) 2012-10-18 18:58:24 UTC
[18-Oct-2012 18:12:33] 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: mw41
Method: POST
URL: http://en.wiktionary.org/w/index.php?title=Talk:domino&action=delete
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('posted a reply ...')
#2 /usr/local/apache/common-local/php-1.21wmf2/includes/Message.php(493): Message->toString()
#3 /usr/local/apache/common-local/php-1.21wmf2/extensions/LiquidThreads/classes/Hooks.php(59): Message->parse()
#4 [internal function]: LqtHooks::customizeOldChangesList(Object(OldChangesList), '<a href="/wiki/...', Object(RecentChange))
#5 /usr/local/apache/common-local/php-1.21wmf2/includes/Hooks.php(253): call_user_func_array('LqtHooks::custo...', Array)
#6 /usr/local/apache/common-local/php-1.21wmf2/includes/GlobalFunctions.php(3811): Hooks::run('OldChangesListR...', Array)
#7 /usr/local/apache/common-local/php-1.21wmf2/includes/ChangesList.php(661): wfRunHooks('OldChangesListR...', Array)
#8 /usr/local/apache/common-local/php-1.21wmf2/includes/specials/SpecialRecentchanges.php(528): OldChangesList->recentChangesLine(Object(RecentChange), false, 10)
#9 /usr/local/apache/common-local/php-1.21wmf2/includes/specials/SpecialRecentchanges.php(179): SpecialRecentChanges->webOutput(Object(ResultWrapper), Object(FormOptions))
#10 /usr/local/apache/common-local/php-1.21wmf2/includes/SpecialPage.php(599): SpecialRecentChanges->execute('limit=10')
#11 /usr/local/apache/common-local/php-1.21wmf2/includes/SpecialPageFactory.php(497): SpecialPage->run('limit=10')
#12 /usr/local/apache/common-local/php-1.21wmf2/includes/SpecialPageFactory.php(536): SpecialPageFactory::executePath(Object(Title), Object(RequestContext), true)
#13 /usr/local/apache/common-local/php-1.21wmf2/includes/parser/Parser.php(3366): SpecialPageFactory::capturePath(Object(Title), Object(RequestContext))
#14 /usr/local/apache/common-local/php-1.21wmf2/includes/parser/Preprocessor_DOM.php(1084): Parser->braceSubstitution(Array, Object(PPFrame_DOM))
#15 /usr/local/apache/common-local/php-1.21wmf2/includes/parser/Parser.php(3065): PPFrame_DOM->expand(Object(PPNode_DOM), 0)
#16 /usr/local/apache/common-local/php-1.21wmf2/includes/parser/Parser.php(1150): Parser->replaceVariables('__NOEDITSECTION...')
#17 /usr/local/apache/common-local/php-1.21wmf2/includes/parser/Parser.php(378): Parser->internalParse('__NOEDITSECTION...')
#18 /usr/local/apache/common-local/php-1.21wmf2/includes/cache/MessageCache.php(890): Parser->parse('__NOEDITSECTION...', Object(Title), Object(ParserOptions), true)
#19 /usr/local/apache/common-local/php-1.21wmf2/includes/Message.php(632): MessageCache->parse('__NOEDITSECTION...', Object(Title), true, true, Object(Language))
#20 /usr/local/apache/common-local/php-1.21wmf2/includes/Message.php(461): Message->parseText('__NOEDITSECTION...')
#21 /usr/local/apache/common-local/php-1.21wmf2/includes/Message.php(523): Message->toString()
#22 /usr/local/apache/common-local/php-1.21wmf2/includes/OutputPage.php(3544): Message->parseAsBlock()
#23 /usr/local/apache/common-local/php-1.21wmf2/includes/OutputPage.php(3532): OutputPage->addWikiMsgArray('deletedtext', Array)
#24 /usr/local/apache/common-local/php-1.21wmf2/includes/Article.php(1629): OutputPage->addWikiMsg('deletedtext', 'Talk:domino', '[[Special:Log/d...')
#25 /usr/local/apache/common-local/php-1.21wmf2/includes/Article.php(1457): Article->doDelete('so it is; I'll ...', false)
#26 /usr/local/apache/common-local/php-1.21wmf2/includes/actions/DeleteAction.php(38): Article->delete()
#27 /usr/local/apache/common-local/php-1.21wmf2/includes/Wiki.php(428): DeleteAction->show()
#28 /usr/local/apache/common-local/php-1.21wmf2/includes/Wiki.php(305): MediaWiki->performAction(Object(Article))
#29 /usr/local/apache/common-local/php-1.21wmf2/includes/Wiki.php(554): MediaWiki->performRequest()
#30 /usr/local/apache/common-local/php-1.21wmf2/includes/Wiki.php(447): MediaWiki->main()
#31 /usr/local/apache/common-local/php-1.21wmf2/index.php(59): MediaWiki->run()
#32 /usr/local/apache/common-local/live-1.5/index.php(3): require('/usr/local/apac...')
#33 {main}

[18-Oct-2012 07:11:07] Fatal error: Call to a member function getText() on a non-object at /usr/local/apache/common-local/php-1.21wmf1/includes/Message.php on line 605
Server: mw24
Method: GET
URL: http://en.wiktionary.org/w/index.php?title=binder&action=rollback&from=66.108.89.183&token=c243388f3607a82694e0d40770a7403b%2B%5C
Backtrace:
#0 /usr/local/apache/common-local/php-1.21wmf1/includes/Message.php(605): Message::parseText()
#1 /usr/local/apache/common-local/php-1.21wmf1/includes/Message.php(428): Message->parseText('[[Special:Tags|...')
#2 /usr/local/apache/common-local/php-1.21wmf1/includes/Message.php(466): Message->toString()
#3 /usr/local/apache/common-local/php-1.21wmf1/includes/ChangeTags.php(72): Message->parse()
#4 /usr/local/apache/common-local/php-1.21wmf1/includes/ChangeTags.php(52): ChangeTags::tagDescription('no-L3')
#5 /usr/local/apache/common-local/php-1.21wmf1/includes/ChangesList.php(537): ChangeTags::formatSummaryRow('no-L3', 'changeslist')
#6 /usr/local/apache/common-local/php-1.21wmf1/includes/ChangesList.php(646): ChangesList->insertTags('(diff | <a href...', Object(RecentChange), Array)
#7 /usr/local/apache/common-local/php-1.21wmf1/includes/specials/SpecialRecentchanges.php(528): OldChangesList->recentChangesLine(Object(RecentChange), false, 5)
#8 /usr/local/apache/common-local/php-1.21wmf1/includes/specials/SpecialRecentchanges.php(179): SpecialRecentChanges->webOutput(Object(ResultWrapper), Object(FormOptions))
#9 /usr/local/apache/common-local/php-1.21wmf1/includes/SpecialPage.php(611): SpecialRecentChanges->execute('limit=5,hidepat...')
#10 /usr/local/apache/common-local/php-1.21wmf1/includes/SpecialPageFactory.php(497): SpecialPage->run('limit=5,hidepat...')
#11 /usr/local/apache/common-local/php-1.21wmf1/includes/SpecialPageFactory.php(536): SpecialPageFactory::executePath(Object(Title), Object(RequestContext), true)
#12 /usr/local/apache/common-local/php-1.21wmf1/includes/parser/Parser.php(3343): SpecialPageFactory::capturePath(Object(Title), Object(RequestContext))
#13 /usr/local/apache/common-local/php-1.21wmf1/includes/parser/Preprocessor_DOM.php(1083): Parser->braceSubstitution(Array, Object(PPFrame_DOM))
#14 /usr/local/apache/common-local/php-1.21wmf1/includes/parser/Parser.php(3043): PPFrame_DOM->expand(Object(PPNode_DOM), 0)
#15 /usr/local/apache/common-local/php-1.21wmf1/includes/parser/Parser.php(1141): Parser->replaceVariables('Reverted edits ...')
#16 /usr/local/apache/common-local/php-1.21wmf1/includes/parser/Parser.php(370): Parser->internalParse('Reverted edits ...')
#17 /usr/local/apache/common-local/php-1.21wmf1/includes/cache/MessageCache.php(873): Parser->parse('Reverted edits ...', Object(Title), Object(ParserOptions), true)
#18 /usr/local/apache/common-local/php-1.21wmf1/includes/Message.php(605): MessageCache->parse('Reverted edits ...', Object(Title), true, true, Object(Language))
#19 /usr/local/apache/common-local/php-1.21wmf1/includes/Message.php(434): Message->parseText('Reverted edits ...')
#20 /usr/local/apache/common-local/php-1.21wmf1/includes/Message.php(496): Message->toString()
#21 /usr/local/apache/common-local/php-1.21wmf1/includes/actions/RollbackAction.php(108): Message->parseAsBlock()
#22 /usr/local/apache/common-local/php-1.21wmf1/includes/Action.php(541): RollbackAction->onView()
#23 /usr/local/apache/common-local/php-1.21wmf1/includes/Wiki.php(427): FormlessAction->show()
#24 /usr/local/apache/common-local/php-1.21wmf1/includes/Wiki.php(304): MediaWiki->performAction(Object(Article))
#25 /usr/local/apache/common-local/php-1.21wmf1/includes/Wiki.php(553): MediaWiki->performRequest()
#26 /usr/local/apache/common-local/php-1.21wmf1/includes/Wiki.php(446): MediaWiki->main()
#27 /usr/local/apache/common-local/php-1.21wmf1/index.php(59): MediaWiki->run()
#28 /usr/local/apache/common-local/live-1.5/index.php(3): require('/usr/local/apac...')
#29 {main}
Comment 1 Andre Klapper 2012-10-18 19:49:07 UTC
Is this reproducible? Only for the specific URLs, or in general?
Comment 2 Niklas Laxström 2012-10-19 07:44:26 UTC
The local customisation at http://en.wiktionary.org/w/index.php?title=MediaWiki:deletedtext&action=edit causes SpecialRecentChanges to get executed. In messagecache there is guard for calling parser inside parser, which returns string as opposed to parseroutput returned by $parser->parse().

Maybe Tim could help to explain how to call parser recursively (or use different parser?).

Changing ->parse() to ->text() in Lqt could avoid one of the cases but there are lots more.
Comment 3 Niklas Laxström 2012-11-01 18:04:06 UTC
*** Bug 41642 has been marked as a duplicate of this bug. ***
Comment 4 Alex Monk 2013-02-19 15:59:42 UTC
Not entirely sure how to reproduce this.

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


Navigation
Links