Elastic access via PHP

Using PHP I can search and find data using the below command:
$obj = $client->search($params);

I add data using Logstash.
But unable to use other commands like get and update:
$obj = $client->get($params2);
$obj = $client->update($params3);

The code just seems to hangup and not return anything.
Using Elastic ver 7.11 and PHP ver 8 running on Windows.
Any ideas?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.