Closed candivan closed 2 years ago
https://github.com/phpredis/phpredis/issues/1550. refer to this acticle
vendor/macfja/redisearch/src/Redis/Client/PhpredisClient.php public function execute(Command $command) { $arguments = $command->getArguments(); if (0 === count($arguments)) { $arguments = [null]; } $this->redis->setOption(Redis::OPT_REPLY_LITERAL, true); $rawResponse = $this->redis->rawCommand($command->getId(), ...$arguments); return $command->parseResponse($rawResponse); }
$this->redis->setOption(Redis::OPT_REPLY_LITERAL, true); add this line solve the problems
https://github.com/phpredis/phpredis/issues/1550. refer to this acticle
$this->redis->setOption(Redis::OPT_REPLY_LITERAL, true); add this line solve the problems