After upgrading Phabricator to the latest master, I get the following error when running any bin/phd command, like stop, start, status.
vagrant@vagrant-ubuntu-trusty-64:/opt/code/phabricator$ bin/phd stop [2014-06-16 23:51:53] EXCEPTION: (InvalidArgumentException) Argument 1 passed to PhabricatorDaemonReference::newFromDictionary() must be of the type array, string given, called in /opt/code/phabricator/src/applications/daemon/management/PhabricatorDaemonManagementWorkflow.php on line 50 and defined at [<phutil>/src/error/PhutilErrorHandler.php:201] #0 PhutilErrorHandler::handleError(integer, string, string, integer, array) called at [<phabricator>/src/infrastructure/daemon/control/PhabricatorDaemonReference.php:26] #1 PhabricatorDaemonReference::newFromDictionary(string) called at [<phabricator>/src/applications/daemon/management/PhabricatorDaemonManagementWorkflow.php:50] #2 PhabricatorDaemonManagementWorkflow::loadRunningDaemons() called at [<phabricator>/src/applications/daemon/management/PhabricatorDaemonManagementWorkflow.php:282] #3 PhabricatorDaemonManagementWorkflow::executeStopCommand(array) called at [<phabricator>/src/applications/daemon/management/PhabricatorDaemonManagementStopWorkflow.php:24] #4 PhabricatorDaemonManagementStopWorkflow::execute(PhutilArgumentParser) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:396] #5 PhutilArgumentParser::parseWorkflowsFull(array) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:292] #6 PhutilArgumentParser::parseWorkflows(array) called at [<phabricator>/scripts/daemon/manage_daemons.php:23]
If I checkout to the commit right before rP0ccebbe4b1d (specifically rP78635a15c108) then the error goes away.