{"action":"opened","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch-php/issues/337","labels_url":"https://api.github.com/repos/elastic/elasticsearch-php/issues/337/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch-php/issues/337/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch-php/issues/337/events","html_url":"https://github.com/elastic/elasticsearch-php/issues/337","id":119888813,"number":337,"title":"PromiseInterface not found","user":{"login":"nuttawatkit","id":8597323,"avatar_url":"https://avatars.githubusercontent.com/u/8597323?v=3","gravatar_id":"","url":"https://api.github.com/users/nuttawatkit","html_url":"https://github.com/nuttawatkit","followers_url":"https://api.github.com/users/nuttawatkit/followers","following_url":"https://api.github.com/users/nuttawatkit/following{/other_user}","gists_url":"https://api.github.com/users/nuttawatkit/gists{/gist_id}","starred_url":"https://api.github.com/users/nuttawatkit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nuttawatkit/subscriptions","organizations_url":"https://api.github.com/users/nuttawatkit/orgs","repos_url":"https://api.github.com/users/nuttawatkit/repos","events_url":"https://api.github.com/users/nuttawatkit/events{/privacy}","received_events_url":"https://api.github.com/users/nuttawatkit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-02T08:08:47Z","updated_at":"2015-12-02T08:08:47Z","closed_at":null,"body":"Fatal error: Interface 'React\\Promise\\PromiseInterface' not found in ./vendor/react/promise/src/ExtendedPromiseInterface.php on line 6\r\n\r\n//$host is aws elastic search endpoint\r\n$client = ClientBuilder::create()\r\n                        ->setHosts($hosts)->setRetries(0)\r\n                        ->build();\r\n$params = [\r\n    'index'=>'store',\r\n    'type'=>'book',\r\n    'body'=>[\r\n        'query'=>[\r\n            'match'=>[\r\n                'id'=>'1'\r\n            ]\r\n        ]\r\n    ]\r\n];\r\n$res = $client->search($params);\r\n\r\nI try to connect and search data from AWS endpoint and it showed this error."}}