Page MenuHomePhabricator

Fatal error: Uncaught exception 'MWException' with message 'Invalid callback in hooks for ParserFirstCallInit
Closed, ResolvedPublic

Description

Instance settings

Given the settings attached (where the interesting point may be the addition of Wikibase via composer), I get the following if I enable the echo role (or education or massmessage, which imply it):

Fatal error: Uncaught exception 'MWException' with message 'Invalid callback in hooks for ParserFirstCallInit
' in /srv/vagrant/mediawiki/includes/Hooks.php:182
Stack trace:
#0 /srv/vagrant/mediawiki/includes/GlobalFunctions.php(4031): Hooks::run()
#1 /srv/vagrant/mediawiki/includes/parser/Parser.php(279): wfRunHooks()
#2 /srv/vagrant/mediawiki/includes/StubObject.php(105): Parser->firstCallInit()
#3 /srv/vagrant/mediawiki/includes/StubObject.php(125): StubObject->_call()
#4 /srv/vagrant/mediawiki/includes/cache/MessageCache.php(1025): StubObject->__call()
#5 /srv/vagrant/mediawiki/includes/cache/MessageCache.php(1002): MessageCache->getParser()
#6 /srv/vagrant/mediawiki/includes/Message.php(986): MessageCache->transform()
#7 /srv/vagrant/mediawiki/includes/Message.php(666): Message->transformText()
#8 /srv/vagrant/mediawiki/includes/Message.php(729): Message->toString()
#9 /srv/vagrant/mediawiki/extensions/Echo/Hooks.php(35): Message->text()
#10 /srv/vagrant/mediawiki/includes/Setup.php(660): EchoHooks::initEchoExtension()
#11 /srv/vagrant/mediawiki/maintenance/doMaintenance.php(94): include()
#12 /srv/vagrant/mediawiki/maintenance/update.php(206): include()
#13 {main}
[29405eb7] [no req] Exception from line 182 of /srv/vagrant/mediawiki/includes/Hooks.php: Invalid callback in hooks for ParserFirstCallInit

Backtrace:
#0 /srv/vagrant/mediawiki/includes/GlobalFunctions.php(4031): Hooks::run(string, array, NULL)
#1 /srv/vagrant/mediawiki/includes/parser/Parser.php(279): wfRunHooks(string, array)
#2 /srv/vagrant/mediawiki/includes/StubObject.php(105): Parser->firstCallInit()
#3 /srv/vagrant/mediawiki/includes/StubObject.php(125): StubObject->_call(string, array)
#4 /srv/vagrant/mediawiki/includes/cache/MessageCache.php(1025): StubObject->__call(string, array)
#5 /srv/vagrant/mediawiki/includes/cache/MessageCache.php(1002): MessageCache->getParser()
#6 /srv/vagrant/mediawiki/includes/Message.php(986): MessageCache->transform(string, boolean, Language, NULL)
#7 /srv/vagrant/mediawiki/includes/Message.php(666): Message->transformText(string)
#8 /srv/vagrant/mediawiki/includes/Message.php(729): Message->toString()
#9 /srv/vagrant/mediawiki/extensions/Echo/Hooks.php(35): Message->text()
#10 /srv/vagrant/mediawiki/includes/Setup.php(660): EchoHooks::initEchoExtension()
#11 /srv/vagrant/mediawiki/maintenance/doMaintenance.php(94): include(string)
#12 /srv/vagrant/mediawiki/maintenance/update.php(206): include(string)
#13 {main}


Version: unspecified
Severity: normal

Attached:

Details

Reference
bz68695

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:41 AM
bzimport added a project: Notifications.
bzimport set Reference to bz68695.
bzimport added a subscriber: Unknown Object (MLST).

Same problem as bug 66992.

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