{"action":"created","issue":{"url":"https://api.github.com/repos/kalabox/kalabox/issues/357","labels_url":"https://api.github.com/repos/kalabox/kalabox/issues/357/labels{/name}","comments_url":"https://api.github.com/repos/kalabox/kalabox/issues/357/comments","events_url":"https://api.github.com/repos/kalabox/kalabox/issues/357/events","html_url":"https://github.com/kalabox/kalabox/issues/357","id":99275903,"number":357,"title":"Critical PHP error on kbox pantheon create: Error dispatching event listeners [post-install]","user":{"login":"dapperly","id":3026926,"avatar_url":"https://avatars.githubusercontent.com/u/3026926?v=3","gravatar_id":"","url":"https://api.github.com/users/dapperly","html_url":"https://github.com/dapperly","followers_url":"https://api.github.com/users/dapperly/followers","following_url":"https://api.github.com/users/dapperly/following{/other_user}","gists_url":"https://api.github.com/users/dapperly/gists{/gist_id}","starred_url":"https://api.github.com/users/dapperly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dapperly/subscriptions","organizations_url":"https://api.github.com/users/dapperly/orgs","repos_url":"https://api.github.com/users/dapperly/repos","events_url":"https://api.github.com/users/dapperly/events{/privacy}","received_events_url":"https://api.github.com/users/dapperly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-05T19:08:03Z","updated_at":"2015-08-06T00:16:52Z","closed_at":null,"body":"I've attempted a few times to create a kbox instance from Pantheon and it always fails at the same place. Here's the compact error:\r\n```\r\nError while installing app: \"uxm-kbox\": EVENTS =>  Error dispatching event listeners [post-install].\r\nVError: Error running ad hoc container with kalabox/terminus:v0.9.0.: PHP Warning:  Missing argument 3 for Terminus\\Workflow::__construct(), called in phar:///usr/local/bin/terminus/php/Terminus/EnvironmentFactory.php on line 24 and defined in phar:///usr/local/bin/terminus/php/Terminus/Workflow.php on line 15\r\nPHP Notice:  Undefined variable: object in phar:///usr/local/bin/terminus/php/Terminus/Workflow.php on line 18\r\n\r\n    at Object.<anonymous> (/usr/local/lib/node_modules/kalabox/node_modules/kalabox-engine-docker/docker.js:696:13)\r\n    at processImmediate [as _immediateCallback] (timers.js:367:17)\r\n```\r\n[Here is the complete, verbose output](http://it.ishe.re/code/0a3k1g3z3G46) following `kbox pantheon create -- -v`, and [general system/kbox/npm info is here](http://it.ishe.re/code/100m1d0r3s25). Some bits are redacted with asterisks, but if those are needed to resolve this I can send them privately.\r\n\r\nThere seems to be no such directory as /usr/local/bin/terminus, at least as far as the file system is concerned... no idea how to touch things via phar:// or even whether this sentence makes actual sense."},"comment":{"url":"https://api.github.com/repos/kalabox/kalabox/issues/comments/128191723","html_url":"https://github.com/kalabox/kalabox/issues/357#issuecomment-128191723","issue_url":"https://api.github.com/repos/kalabox/kalabox/issues/357","id":128191723,"user":{"login":"pi-ron","id":766926,"avatar_url":"https://avatars.githubusercontent.com/u/766926?v=3","gravatar_id":"","url":"https://api.github.com/users/pi-ron","html_url":"https://github.com/pi-ron","followers_url":"https://api.github.com/users/pi-ron/followers","following_url":"https://api.github.com/users/pi-ron/following{/other_user}","gists_url":"https://api.github.com/users/pi-ron/gists{/gist_id}","starred_url":"https://api.github.com/users/pi-ron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pi-ron/subscriptions","organizations_url":"https://api.github.com/users/pi-ron/orgs","repos_url":"https://api.github.com/users/pi-ron/repos","events_url":"https://api.github.com/users/pi-ron/events{/privacy}","received_events_url":"https://api.github.com/users/pi-ron/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T00:16:52Z","updated_at":"2015-08-06T00:16:52Z","body":"I got this error (or close to it) on a `kbox rebuild`, I then did `kbox start && kbox stop` then `kbox rebuild` again, and it rebuilt OK."}}