Page MenuHomePhabricator

Fatal error: Call to a member function addModules() on a non-object in extensions/CentralNotice/CentralNotice.hooks.php on line 360
Closed, ResolvedPublic

Description

Beta is filled with fatal errors listing:

[31-Dec-2013 12:08:01] 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-0000031b
Method: GET
URL: http://simple.wikipedia.beta.wmflabs.org/wiki/User_talk:Cmann600
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}

File is /data/project/logs/fatal.log

First occurrence on 30-Dec-2013 19:48:58 UTC


Version: unspecified
Severity: normal

Details

Reference
bz59163

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:39 AM
bzimport set Reference to bz59163.
bzimport added a subscriber: Unknown Object (MLST).

mwalker wrote:

Well, that's fun. This isn't something I changed though; this is a hook provided to CentralNotice from the mobile frontend -- so something there possibly has changed?

I updated all my sources to master and couldn't reproduce it... I'll keep poking at it though.

bingle-admin wrote:

Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1591

  • This bug has been marked as a duplicate of bug 59143 ***