i use below code and get below error for connect php to elasticsearch i use elasticsearch php client
$params = [ \'index\'=>\'index1,index2\',