• Resolved stephenkemmy

    (@stephenkemmy)


    I am building a WordPress website on Xammp local server.

    I noticed in the health check that the persistent object cache was missing.

    So after some flighty research in ignorant I installed the Redi Object Cache Plugin. Now I get the following fatal error. The plugin is not showing as listed in the plugins in the dashboard settings for Plugins.

    I am unable to navigate or use the dashboard. The website is finished and tomorrow I need to transfer it to a hosting service.

    The error page is as follows.

    Fatal error: Uncaught Predis\Connection\ConnectionException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond [tcp://127.0.0.1:6379] in C:\xampp\htdocs\MyTestSite\wp-content\plugins\redis-cache\dependencies\predis\predis\src\Connection\AbstractConnection.php:131 Stack trace: #0 C:\xampp\htdocs\MyTestSite\wp-content\plugins\redis-cache\dependencies\predis\predis\src\Connection\StreamConnection.php(109): Predis\Connection\AbstractConnection->onConnectionError(‘A connection at…’, 10060) #1 C:\xampp\htdocs\MyTestSite\wp-content\plugins\redis-cache\dependencies\predis\predis\src\Connection\StreamConnection.php(154): Predis\Connection\StreamConnection->createStreamSocket(Object(Predis\Connection\Parameters), ‘tcp://127.0.0.1…’, 4) #2 C:\xampp\htdocs\MyTestSite\wp-content\plugins\redis-cache\dependencies\predis\predis\src\Connection\StreamConnection.php(80): Predis\Connection\StreamConnection->tcpStreamInitializer(Object(Predis\Connection\Parameters)) #3 C:\xampp\htdocs\MyTestSite\wp-content\plugins\redis-cache\dependencies\predis\predis\src\Connection\AbstractConnection.php(80): Predis\Connection\StreamConnection->createResource() #4 C:\xampp\htdocs\MyTestSite\wp-content\plugins\redis-cache\dependencies\predis\predis\src\Connection\StreamConnection.php(230): Predis\Connection\AbstractConnection->connect() #5 C:\xampp\htdocs\MyTestSite\wp-content\plugins\redis-cache\dependencies\predis\predis\src\Client.php(225): Predis\Connection\StreamConnection->connect() #6 C:\xampp\htdocs\MyTestSite\wp-content\object-cache.php(907): Predis\Client->connect() #7 C:\xampp\htdocs\MyTestSite\wp-content\object-cache.php(548): WP_Object_Cache->connect_using_predis(Array) #8 C:\xampp\htdocs\MyTestSite\wp-content\object-cache.php(256): WP_Object_Cache->__construct(false) #9 C:\xampp\htdocs\MyTestSite\wp-includes\load.php(750): wp_cache_init() #10 C:\xampp\htdocs\MyTestSite\wp-settings.php(131): wp_start_object_cache() #11 C:\xampp\htdocs\MyTestSite\wp-config.php(86): require_once(‘C:\\xampp\\htdocs…’) #12 C:\xampp\htdocs\MyTestSite\wp-load.php(50): require_once(‘C:\\xampp\\htdocs…’) #13 C:\xampp\htdocs\MyTestSite\wp-admin\admin.php(34): require_once(‘C:\\xampp\\htdocs…’) #14 C:\xampp\htdocs\MyTestSite\wp-admin\tools.php(40): require_once(‘C:\\xampp\\htdocs…’) #15 {main} thrown in C:\xampp\htdocs\MyTestSite\wp-content\plugins\redis-cache\dependencies\predis\predis\src\Connection\AbstractConnection.php on line 131

    There has been a critical error on this website.

    Can anyone help me solve this problem.Learn more about troubleshooting WordPress.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter stephenkemmy

    (@stephenkemmy)

    I suppose this plugin is not for use on a local server like Xammp or Local.

    It was stupid of me to install the plugin !

    Thread Starter stephenkemmy

    (@stephenkemmy)

    A person in a related forum said to delete the object-cache.php.

    I have not done so yet in case I cause further problems.
    I searched my xammp folder on my C drive and I located two object-cache.php files, where I noticed there date relates to the exact time I installed the Redis Object Cache plug in. I am unable to load up the image of the snapshot here.


    Plugin Author Till Krüss

    (@tillkruess)

    Sorry, I cannot help with Windows installations. I’d suggest search for:

    A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 
    Thread Starter stephenkemmy

    (@stephenkemmy)

    I simply deleted the Redis Object Cache plugin folder and the object-cache.php file. Problem solved. Thank you

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Redis Plugin’ is closed to new replies.