• Hi,
    I am trying to update the plugin redis object cache and after updating my webpage breaks and I get this stack trace:

    2019/12/02 16:17:31 [error] 3749#0: *6449292 FastCGI sent in stderr: "PHP message: Predis\NotSupportedException: The command 'INFO' is not allowed in replication mode. in /opt/observador/wordpress/shared/obswp/releases/ae98df72d64f044d9d460c8ea085caf09cc6f86f/plugins/redis-cache/includes/predis/src/Replication/ReplicationStrategy.php:51
    Stack trace:
    #0 /opt/observador/wordpress/shared/obswp/releases/ae98df72d64f044d9d460c8ea085caf09cc6f86f/plugins/redis-cache/includes/predis/src/Connection/Aggregate/MasterSlaveReplication.php(160): Predis\Replication\ReplicationStrategy->isReadOperation(Object(Predis\Command\ServerInfoV26x))
    #1 /opt/observador/wordpress/shared/obswp/releases/ae98df72d64f044d9d460c8ea085caf09cc6f86f/plugins/redis-cache/includes/predis/src/Connection/Aggregate/MasterSlaveReplication.php(435): Predis\Connection\Aggregate\MasterSlaveReplication->getConnection(Object(Predis\Command\ServerInfoV26x))
    #2 /opt/observador/wordpress/shared/obswp/releases/ae98df72d64f044d9d460c8ea085caf09cc6f86f/plugins/redis-cache/includes/predis/src/Connection/Aggregate/MasterSlaveRe" while reading response header from upstream, client: 172.31.42.88, server: observador.pt, request: "GET /observador_api/req/3_0/items/url/2019/12/02/cop25-antonio-guterres-quer-paises-do-mundo-a-ultrapassar-divisoes-para-salvar-o-planeta HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.1-fpm.sock:", host: "observador.pt"

    and this is my config:

    define( 'WP_REDIS_SERVERS', [
        'tcp://xxx.xx.x.xx:xxxx?alias=master',
        'tcp://xxx.xx.x.xx:xxxx?alias=slave-01',
        'tcp://xxx.xx.x.Xx:xxxx?alias=slave-02',
    ] );
    define( 'WP_REDIS_MAXTTL', 21600);

    any suggestion to solve this problem?
    Thanks

    • This topic was modified 5 years, 3 months ago by nfreire.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Problem Updating plugin’ is closed to new replies.