Last modified: 2014-02-12 23:52:51 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 T61143, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59143 - CentralNotice causes fatal error for mobile on beta labs
CentralNotice causes fatal error for mobile on beta labs
Status: RESOLVED FIXED
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
: browser-test-bug
: 59163 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-30 21:37 UTC by Chris McMahon
Modified: 2014-02-12 23:52 UTC (History)
10 users (show)

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


Attachments

Description Chris McMahon 2013-12-30 21:37:29 UTC
Fatal error shows as a 500 error.  In logs find 

[30-Dec-2013 21:34:22] Fatal error: Call to a member function addModules() on a non-object at /data/project/apache/common-local/php-master/extensions/CentralNotice/CentralNotice.hooks.php on line 360
Server: i-0000031a
Method: GET
URL: http://en.wikipedia.beta.wmflabs.org/wiki/Main_Page?useformat=mobile
Backtrace:
#0 /data/project/apache/common-local/php-master/extensions/CentralNotice/CentralNotice.hooks.php(360): efEnableMobileModules()
#1 [internal function]: efEnableMobileModules(NULL, 'stable')
#2 /data/project/apache/common-local/php-master/includes/Hooks.php(199): call_user_func_array('efEnableMobileM...', Array)
#3 /data/project/apache/common-local/php-master/includes/GlobalFunctions.php(4031): Hooks::run('EnableMobileMod...', Array)
#4 /data/project/apache/common-local/php-master/extensions/MobileFrontend/includes/skins/SkinMinerva.php(691): wfRunHooks('EnableMobileMod...', Array)
#5 /data/project/apache/common-local/php-master/includes/OutputPage.php(2074): SkinMinerva->outputPage()
#6 /data/project/apache/common-local/php-master/includes/Wiki.php(603): OutputPage->output()
#7 /data/project/apache/common-local/php-master/includes/Wiki.php(460): MediaWiki->main()
#8 /data/project/apache/common-local/php-master/index.php(49): MediaWiki->run()
#9 /data/project/apache/common-local/w/index.php(3): require('/data/project/a...')
#10 {main}
Comment 1 Gerrit Notification Bot 2013-12-30 21:56:59 UTC
Change 104672 had a related patch set uploaded by MaxSem:
Ensure that EnableMobileModules hook always gets an OutputPage

https://gerrit.wikimedia.org/r/104672
Comment 2 Gerrit Notification Bot 2013-12-31 18:31:30 UTC
Change 104672 merged by jenkins-bot:
Ensure that EnableMobileModules hook always gets an OutputPage

https://gerrit.wikimedia.org/r/104672
Comment 3 Jon 2014-01-02 17:33:45 UTC
*** Bug 59163 has been marked as a duplicate of this bug. ***

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


Navigation
Links