-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request
Description
Hello MacFJA,
(I'm using version 2.1.0)
I get a
Call to a member function execute() on null
at vendor/macfja/redisearch/src/Redis/Response/PaginatedResponse.php:145
It appears that $this->client is null.
When I set the setLimit to a high enough value, I dont get this error anymore.
Another workaround is to manually set the client like this
/** @var PaginatedResponse $results */
$results = $client->execute($search);
$results->setClient($client);
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request