Last modified: 2012-05-20 16:45:44 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 T38908, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36908 - Language::isValidBuiltInCode is being passed an object!
Language::isValidBuiltInCode is being passed an object!
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.20.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-16 14:52 UTC by Antoine "hashar" Musso (WMF)
Modified: 2012-05-20 16:45 UTC (History)
1 user (show)

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


Attachments

Description Antoine "hashar" Musso (WMF) 2012-05-16 14:52:11 UTC
On live cluster, Language::isValidBuiltInCode is being passed an object when the method expect a string (which is then passed to preg_match).

May 16 13:52:33 10.0.2.195 apache2[30042]: PHP Warning:  preg_match() expects parameter 2 to be string, object given in /usr/local/apache/common-local/php-1.20wmf2/languages/Language.php on line 248
Comment 1 Antoine "hashar" Musso (WMF) 2012-05-16 14:58:27 UTC
Proposal https://gerrit.wikimedia.org/r/7792
Comment 2 Antoine "hashar" Musso (WMF) 2012-05-20 16:45:44 UTC
Merged on May 18th.

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


Navigation
Links