I have installed elasticsearch on cakephp 3 As told here https://book.cakephp.org/3.0/en/elasticsearch.html.
But I am getting an error
Error: Wrong parameters for Exception([string $exception [, long $code [, Exception $previous = NULL]]])
Elasticsearch version -> 5.0 AND PHP version -> 5.6.30
Please help me if any one knows the solution.