Support » Plugin: Redis Object Cache » redis php error

  • Resolved slservice33

    (@slservice33)


    My site crashed today (maria db killed by oom) and the first PHP error message a few minutes before it crashed was about redis.

    Any advice on finding the cause of this error would be much appreciated.

    [10-Nov-2022 20:48:10 UTC] Predis\Connection\ConnectionException: Error while reading line from the server. [tcp://127.0.0.1:6379] in /var/www/html/wordpress/wp-content/plugins/redis-cache/dependencies/predis/predis/src/Connection/AbstractCo>
    Stack trace:
    #0 /var/www/html/wordpress/wp-content/plugins/redis-cache/dependencies/predis/predis/src/Connection/StreamConnection.php(286): Predis\Connection\AbstractConnection->onConnectionError()
    #1 /var/www/html/wordpress/wp-content/plugins/redis-cache/dependencies/predis/predis/src/Connection/AbstractConnection.php(120): Predis\Connection\StreamConnection->read()
    #2 /var/www/html/wordpress/wp-content/plugins/redis-cache/dependencies/predis/predis/src/Connection/AbstractConnection.php(112): Predis\Connection\AbstractConnection->readResponse()
    #3 /var/www/html/wordpress/wp-content/plugins/redis-cache/dependencies/predis/predis/src/Client.php(316): Predis\Connection\AbstractConnection->executeCommand()
    #4 /var/www/html/wordpress/wp-content/plugins/redis-cache/dependencies/predis/predis/src/Client.php(299): Predis\Client->executeCommand()
    #5 /var/www/html/wordpress/wp-content/object-cache.php(1792): Predis\Client->__call()
    #6 /var/www/html/wordpress/wp-content/object-cache.php(182): WP_Object_Cache->get()
    #7 /var/www/html/wordpress/wp-includes/option.php(305): wp_cache_get()
    #8 /var/www/html/wordpress/wp-includes/option.php(191): wp_load_alloptions()
    #9 /var/www/html/wordpress/wp-includes/default-constants.php(161): get_option()
    #10 /var/www/html/wordpress/wp-settings.php(365): wp_plugin_directory_constants()
    #11 /var/www/html/wordpress/wp-config.php(111): require_once('/var/www/html/w...')
    #12 /var/www/html/wordpress/wp-load.php(50): require_once('/var/www/html/w...')
    #13 /var/www/html/wordpress/wp-blog-header.php(13): require_once('/var/www/html/w...')
    #14 /var/www/html/wordpress/index.php(17): require('/var/www/html/w...')
    #15 {main}

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘redis php error’ is closed to new replies.