Page MenuHomePhabricator

TextContent expects a string in the constructor.
Closed, ResolvedPublic

Description

http://p.defau.lt/?pxOvEcN9GN1w5kTK4sA1kw

2012-10-23 14:23:38 srv230 metawiki: [6d5c7d52] /w/index.php?title=Translations:Fundraising_2012/Translation/Ways_to_give/21/ru&action=edit Exception from line 16 of /usr/local/apache/common-local/php-1.21wmf2/includes/content/TextContent.php: TextContent expects a string in the constructor.
#0 /usr/local/apache/common-local/php-1.21wmf2/includes/content/WikitextContent.php(8): TextContent->construct(NULL, 'wikitext')
#1 /usr/local/apache/common-local/php-1.21wmf2/includes/content/ContentHandler.php(1185): WikitextContent->
construct(NULL)
#2 /usr/local/apache/common-local/php-1.21wmf2/includes/content/ContentHandler.php(132): WikitextContentHandler->unserializeContent(NULL, NULL)
#3 /usr/local/apache/common-local/php-1.21wmf2/includes/diff/DifferenceEngine.php(1030): ContentHandler::makeContent(NULL, Object(Title))
#4 /usr/local/apache/common-local/php-1.21wmf2/extensions/Translate/utils/TranslationHelpers.php(1019): DifferenceEngine->setText(NULL, 'You can find de...')
#5 [internal function]: TranslationHelpers->getTranslationPageDiff()
#6 /usr/local/apache/common-local/php-1.21wmf2/extensions/Translate/utils/TranslationHelpers.php(231): call_user_func_array(Array, Array)
#7 /usr/local/apache/common-local/php-1.21wmf2/extensions/Translate/utils/TranslationHelpers.php(210): TranslationHelpers->callBox('page-translatio...', Array)
#8 /usr/local/apache/common-local/php-1.21wmf2/extensions/Translate/TranslateEditAddons.php(260): TranslationHelpers->getBoxes()
#9 /usr/local/apache/common-local/php-1.21wmf2/extensions/Translate/TranslateEditAddons.php(179): TranslateEditAddons::editBoxes(Object(EditPage))
#10 [internal function]: TranslateEditAddons::addTools(Object(EditPage), Object(OutputPage))
#11 /usr/local/apache/common-local/php-1.21wmf2/includes/Hooks.php(253): call_user_func_array('TranslateEditAd...', Array)
#12 /usr/local/apache/common-local/php-1.21wmf2/includes/GlobalFunctions.php(3811): Hooks::run('EditPage::showE...', Array)
#13 /usr/local/apache/common-local/php-1.21wmf2/includes/EditPage.php(1985): wfRunHooks('EditPage::showE...', Array)
#14 /usr/local/apache/common-local/php-1.21wmf2/includes/EditPage.php(418): EditPage->showEditForm()
#15 /usr/local/apache/common-local/php-1.21wmf2/includes/actions/EditAction.php(51): EditPage->edit()
#16 /usr/local/apache/common-local/php-1.21wmf2/includes/Wiki.php(428): EditAction->show()
#17 /usr/local/apache/common-local/php-1.21wmf2/includes/Wiki.php(305): MediaWiki->performAction(Object(Article))
#18 /usr/local/apache/common-local/php-1.21wmf2/includes/Wiki.php(554): MediaWiki->performRequest()
#19 /usr/local/apache/common-local/php-1.21wmf2/includes/Wiki.php(447): MediaWiki->main()
#20 /usr/local/apache/common-local/php-1.21wmf2/index.php(59): MediaWiki->run()
#21 /usr/local/apache/common-local/live-1.5/index.php(3): require('/usr/local/apac...')
#22 {main}


Version: unspecified
Severity: normal

Details

Reference
bz41303

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:09 AM
bzimport set Reference to bz41303.
bzimport added a subscriber: Unknown Object (MLST).

@sam, does this still happen? If not, I suggest to close this bug. We have plugged several holes that could cause this exception.

Please re-open in case this still happens.

Closed older resolved bugs as verified.