Reputation: 70
I'm getting this error found in the constructor
of RedisJson
from mkorkmaz /
redislabs-rejson
Argument 1 passed to Redislabs\Module\RedisJson\RedisJson::setModuleVersion() must be of the type array, string given, called in C:\wamp64\www\aizen_themes\vendor\mkorkmaz\redislabs-rejson\src\RedisJson\RedisJson.php
at this line $this->setModuleVersion($redisClient->rawCommand('MODULE', ['LIST']));
when I comment, all the logic related to moduleVersion
everything works fine
this is how i init the RedisJson
$redis = new Predis\Client('tcp://myredis-cloud-remote-url:port');
$redis->auth('user','pass');
$redisJson = RedisJson::createWithPredis($redis);
anyone have an idea about it ?
UPDATE :
after investigations about the MODULE
command it looks like that is only supported by C binding functionalities, I think that the library of Predis
cannot execute such command because it's not written in C
check this link Redis modules
Upvotes: 0
Views: 443