Page MenuHomePhabricator

Fatal error: Call to a member function equals() on a non-object at /mnt/srv/mediawiki-staging/php-master/extensions/Echo/Hooks.php on line 745
Closed, DeclinedPublicPRODUCTION ERROR

Description

Showing up in the logs on beta cluster:

[2015-04-28 03:29:06] Fatal error: Call to a member function equals() on a non-object at /mnt/srv/mediawiki-staging/php-master/extensions/Echo/Hooks.php on line 745
Server: deployment-bastion
URL: http://[unknown-host]
Backtrace:
#0 /mnt/srv/mediawiki-staging/php-master/extensions/Echo/Hooks.php(745): EchoHooks::makeGlobalVariablesScript()
#1 [internal function]: EchoHooks::makeGlobalVariablesScript(Array, Object(OutputPage))
#2 /mnt/srv/mediawiki-staging/php-master/includes/Hooks.php(209): call_user_func_array('EchoHooks::make...', Array)
#3 /mnt/srv/mediawiki-staging/php-master/maintenance/eval.php(78) : eval()'d code(1): Hooks::run('MakeGlobalVaria...', Array)
#4 /mnt/srv/mediawiki-staging/php-master/maintenance/eval.php(78): eval()
#5 /mnt/srv/mediawiki-staging/multiversion/MWScript.php(97): require_once('/mnt/srv/mediaw...')
#6 {main}

Event Timeline

EBernhardson raised the priority of this task from to Needs Triage.
EBernhardson updated the task description. (Show Details)
EBernhardson subscribed.
Krinkle claimed this task.
Krinkle triaged this task as Low priority.
Krinkle added a project: Notifications.
Krinkle set Security to None.

This is from yesterday when I was debugging T97384. In that debug session I wrote some code in eval.php using the $wgOut of Maintenance, which doesn't have a valid user/title context. Naturally, some of the hooks failed. I fixed this in the next eval.

T97384 has been resolved and deployed.

mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:12 PM