• Resolved webitman

    (@webitman)


    Installed the plugin and the status shows it is connected.
    PHP Version: 7.1.4
    Multisite: No
    Redis: Not Found
    Predis: 1.1.1
    Status: Connected
    Client: Predis (v1.1.1)
    WP_REDIS_CLIENT: “predis”
    WP_REDIS_HOST: “127.0.0.1”
    WP_CACHE_KEY_SALT: “”
    Drop-in: Valid

    But the errorlog keeps generating errors…..
    What could be the reason for this behaviour?
    Shot from the errorlog :
    [10-May-2017 11:36:17 UTC] PHP Fatal error: Uncaught Predis\Connection\ConnectionException: Error while reading line from the server. [tcp://127.0.0.1:6379] in /home/domain/public_html/wp-content/plugins/redis-cache/includes/predis.php:4354
    Stack trace:
    #0 /home/domain/public_html/wp-content/plugins/redis-cache/includes/predis.php(4722): Predis\Connection\AbstractConnection->onConnectionError(‘Error while rea…’)
    #1 /home/domain/public_html/wp-content/plugins/redis-cache/includes/predis.php(4319): Predis\Connection\StreamConnection->read()
    #2 /home/domain/public_html/wp-content/plugins/redis-cache/includes/predis.php(4311): Predis\Connection\AbstractConnection->readResponse(Object(Predis\Command\StringGet))
    #3 /home/domain/public_html/wp-content/plugins/redis-cache/includes/predis.php(9069): Predis\Connection\AbstractConnection->executeCommand(Object(Predis\Command\StringGet))
    #4 /home/domain/public_html/wp-content/plugins/redis-cache/includes/predis.php(9052): Predis\Client->executeCommand(Object( in /home/domain/public_html/wp-content/plugins/redis-cache/includes/predis.php on line 4354

    At line 1161 I did add ?> to complete the object-cache.php

Viewing 1 replies (of 1 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    No sure what’s causing this error. I’d suggest you ask the Predis support or your Redis hosting provider for assistance with this issue.

Viewing 1 replies (of 1 total)

The topic ‘Uncaught Predis\Connection\ConnectionException: Error while reading’ is closed to new replies.