Page MenuHomePhabricator

ERROR 2: Invalid argument supplied for foreach() at [/phabricator/src/infrastructure/events/PhabricatorEventEngine.php:18]
Closed, ResolvedPublic

Description

This error results from a call to ./bin/mail

$ ./bin/mail list-outbound
[2014-10-08 20:10:43] ERROR 2: Invalid argument supplied for foreach() at [/phabricator/src/infrastructure/events/PhabricatorEventEngine.php:18]
  #0 PhabricatorEventEngine::initialize() called at [<phabricator>/src/infrastructure/env/PhabricatorEnv.php:115]
  #1 PhabricatorEnv::initializeCommonEnvironment() called at [<phabricator>/src/infrastructure/env/PhabricatorEnv.php:67]
  #2 PhabricatorEnv::initializeScriptEnvironment() called at [<phabricator>/scripts/__init_script__.php:21]
  #3 init_phabricator_script() called at [<phabricator>/scripts/__init_script__.php:24]
  #4 require_once(string) called at [<phabricator>/scripts/mail/manage_mail.php:5]

The command still returns appropriate results after the error message.

I suspect this has a similar resolution as @T6252, though my PHP skills are lacking.

Event Timeline

nswaney raised the priority of this task from to Needs Triage.
nswaney updated the task description. (Show Details)
nswaney added a subscriber: nswaney.

What value do you have events.listeners set to in Config?

events.listeners is set to 'false'

...and I just realized that I have that listed as an unresolved setup issue.

chad claimed this task.

?