Last modified: 2013-02-07 22:03:25 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 T40339, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38339 - Call to undefined method languages::getCode()
Call to undefined method languages::getCode()
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
ZeroPortal (Other open bugs)
master
All All
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-11 20:10 UTC by Sam Reed (reedy)
Modified: 2013-02-07 22:03 UTC (History)
5 users (show)

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


Attachments

Description Sam Reed (reedy) 2012-07-11 20:10:18 UTC
Fatal error:  Call to undefined method languages::getCode() in /usr/local/apache/common-local/php-1.20wmf7/includes/cache/MessageCache.php on line 634
Comment 1 Niklas Laxström 2012-07-12 13:19:44 UTC
It is probably something in extensions. Couldn't find anything in diff between wmf6 and wmf7.
Comment 2 Sam Reed (reedy) 2013-01-11 00:17:11 UTC
[10-Jan-2013 23:33:23] Fatal error: Call to undefined method languages::getCode() at /home/wikipedia/common/php-1.21wmf7/includes/cache/MessageCache.php on line 622
Server: srv193
Method: GET
URL: http://test.wikipedia.org/wiki/Special:ZeroRatedMobileAccess
Cookie: optin=1; mf_alpha=1; centralauth_User=Brion+VIBBER; mfsecure=1; centralauth_Session=5827c231f8dd0e7f40b2fc2c896ef79d; testwiki_session=0538e0efee0b3dc7713c167bbbe0c974
Backtrace:
#0 /home/wikipedia/common/php-1.21wmf7/includes/cache/MessageCache.php(622): MessageCache->get()
#1 /home/wikipedia/common/php-1.21wmf7/includes/Message.php(670): MessageCache->get('zero-rated-mobi...', true, Object(languages))
#2 /home/wikipedia/common/php-1.21wmf7/includes/Message.php(431): Message->fetchMessage()
#3 /home/wikipedia/common/php-1.21wmf7/includes/Message.php(483): Message->toString()
#4 [internal function]: Message->__toString()
#5 /home/wikipedia/common/php-1.21wmf7/includes/Html.php(167): strtr(Object(Message), Array)
#6 /home/wikipedia/common/php-1.21wmf7/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.body.php(314): Html::element('a', Array, Object(Message))
#7 /home/wikipedia/common/php-1.21wmf7/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.body.php(53): ExtZeroRatedMobileAccess->beforePageDisplayHTML(Object(OutputPage), Array)
#8 [internal function]: ExtZeroRatedMobileAccess::onBeforePageDisplay(Object(OutputPage), Array)
#9 /home/wikipedia/common/php-1.21wmf7/includes/Hooks.php(255): call_user_func_array('ExtZeroRatedMob...', Array)
#10 /home/wikipedia/common/php-1.21wmf7/includes/GlobalFunctions.php(3856): Hooks::run('BeforePageDispl...', Array)
#11 /home/wikipedia/common/php-1.21wmf7/extensions/MobileFrontend/includes/skins/SkinMobileBase.php(51): wfRunHooks('BeforePageDispl...', Array)
#12 /home/wikipedia/common/php-1.21wmf7/includes/OutputPage.php(1999): SkinMobileBase->outputPage()
#13 /home/wikipedia/common/php-1.21wmf7/includes/Wiki.php(562): OutputPage->output()
#14 /home/wikipedia/common/php-1.21wmf7/includes/Wiki.php(448): MediaWiki->main()
#15 /home/wikipedia/common/php-1.21wmf7/index.php(59): MediaWiki->run()
#16 /usr/local/apache/common-local/live-1.5/index.php(3): require('/home/wikipedia...')
#17 {main}
Comment 3 Siebrand Mazeland 2013-01-11 07:07:03 UTC
It appears that zrma has no default CCs. Adding Arthur and Tomasz.
Comment 4 Andre Klapper 2013-01-11 12:22:32 UTC
(In reply to comment #3)
> It appears that zrma has no default CCs.

There isn't. If anybody wants me to add people, just tell.
Comment 5 Brion Vibber 2013-02-07 22:03:25 UTC
Ah I fixed this in the configuration a while back. Reopen if it continues.

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


Navigation
Links