You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But I get this error when I try to connect to Redis:
In Replication.php line 40:
[InvalidArgumentException]
Predis\Configuration\Option\Replication expects either a string or a callable value, boolean given
Exception trace:
at /srv/app/vendor/predis/predis/src/Configuration/Option/Replication.php:40
Predis\Configuration\Option\Replication->filter() at /srv/app/vendor/predis/predis/src/Configuration/Options.php:103
Predis\Configuration\Options->__get() at /srv/app/vendor/predis/predis/src/Client.php:125
Predis\Client::createConnection() at /srv/app/vendor/predis/predis/src/Client.php:61
...
Indeed, in predis code, I can see that the value is supposed to be a string (predis, sentinel or redis-sentinel) or a callable.
But SncRedisBundle forces me to set true or 'sentinel'.
Am I missing something? Or is there a problem between predis v2 and SncRedisBundle v4.5?
The text was updated successfully, but these errors were encountered:
I'm updating a project that uses predis and SncRedisBundle with this config:
But I get this error when I try to connect to Redis:
Indeed, in predis code, I can see that the value is supposed to be a string (
predis
,sentinel
orredis-sentinel
) or a callable.But SncRedisBundle forces me to set
true
or'sentinel'
.Am I missing something? Or is there a problem between predis v2 and SncRedisBundle v4.5?
The text was updated successfully, but these errors were encountered: