Last modified: 2012-07-09 20:52:29 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 T40266, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38266 - Language::isValidBuiltInCode must be passed a string, object given
Language::isValidBuiltInCode must be passed a string, object given
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-09 19:58 UTC by Aaron Schulz
Modified: 2012-07-09 20:52 UTC (History)
3 users (show)

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


Attachments

Description Aaron Schulz 2012-07-09 19:58:21 UTC
2012-07-09 19:53:55 srv213 ruwiki: [1ab84a8e] /wiki/%D0%A4%D0%B0%D0%B9%D0%BB:Prahlad_Jani.jpg   Exception from line 272 of /usr/local/apache/common-local/php-1.20wmf6/languages/Language.php: Language::isValidBuiltInCode must be passed a string, object given of class LanguageRu
#0 /usr/local/apache/common-local/php-1.20wmf6/extensions/cldr/LanguageNames.body.php(93): Language::isValidBuiltInCode(Object(LanguageRu))
#1 /usr/local/apache/common-local/php-1.20wmf6/extensions/cldr/LanguageNames.body.php(32): LanguageNames::loadLanguage(Object(LanguageRu))
#2 /usr/local/apache/common-local/php-1.20wmf6/extensions/cldr/LanguageNames.body.php(136): LanguageNames::getNames(Object(LanguageRu), 1, 2)
#3 [internal function]: LanguageNames::coreHook(Array, Object(LanguageRu))
#4 /usr/local/apache/common-local/php-1.20wmf6/includes/Hooks.php(216): call_user_func_array('LanguageNames::...', Array)
#5 /usr/local/apache/common-local/php-1.20wmf6/includes/GlobalFunctions.php(3947): Hooks::run('LanguageGetTran...', Array)
#6 /usr/local/apache/common-local/php-1.20wmf6/languages/Language.php(743): wfRunHooks('LanguageGetTran...', Array)
#7 /usr/local/apache/common-local/php-1.20wmf6/languages/Language.php(788): Language::fetchLanguageNames(Object(LanguageRu), 'all')
#8 /usr/local/apache/common-local/php-1.20wmf6/includes/media/FormatMetadata.php(805): Language::fetchLanguageName('en', Object(LanguageRu))
#9 /usr/local/apache/common-local/php-1.20wmf6/includes/media/Generic.php(350): FormatMetadata::getFormattedData(Array)
#10 /usr/local/apache/common-local/php-1.20wmf6/includes/media/ExifBitmap.php(138): MediaHandler->formatMetadataHelper(Array)
#11 /usr/local/apache/common-local/php-1.20wmf6/includes/filerepo/file/File.php(1341): ExifBitmapHandler->formatMetadata(Object(LocalFile), 'a:18:{s:10:"Obj...')
#12 /usr/local/apache/common-local/php-1.20wmf6/includes/ImagePage.php(138): File->formatMetadata()
#13 /usr/local/apache/common-local/php-1.20wmf6/includes/actions/ViewAction.php(37): ImagePage->view()
#14 /usr/local/apache/common-local/php-1.20wmf6/includes/Wiki.php(492): ViewAction->show()
#15 /usr/local/apache/common-local/php-1.20wmf6/includes/Wiki.php(277): MediaWiki->performAction(Object(ImagePage))
#16 /usr/local/apache/common-local/php-1.20wmf6/includes/Wiki.php(601): MediaWiki->performRequest()
#17 /usr/local/apache/common-local/php-1.20wmf6/includes/Wiki.php(511): MediaWiki->main()
#18 /usr/local/apache/common-local/php-1.20wmf6/index.php(58): MediaWiki->run()
#19 /usr/local/apache/common-local/live-1.5/index.php(3): require('/usr/local/apac...')
#20 {main}
Comment 1 Aaron Schulz 2012-07-09 20:52:29 UTC
Fixed in https://gerrit.wikimedia.org/r/#/c/14825/.

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


Navigation
Links