"Error establishing a Redis connection"

What issue or error are you experiencing?

The error message I am getting is “Error establishing a Redis connection”

I want to get a live website to my local machine for testing. So I created a new website in Localwp. Then in site folder I deleted all the files and copied all the files from the live website (i.e ) i want to import to the localwp site folder. I edited the wp-config file with localwp database name & pass. Then I deleted (dropped) all the table in the database and I imported the sql database of live website (1.8GB) using the SQL terminal, the database successfully got imported. I went into the wp_options table I updated the siteurl and home with the local url i.e http://test.local


What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc


System Details

  • Local Version:
    Version 9.1.0+6719
  • Operating System (OS) and OS version:
    Windows 10 Professional

Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)
local-logs.zip (33.8 KB)


Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

Hi @faizzsheikh

A couple of other things you could try here.

The free plugin WP Migrate Lite can be used to create a full site export zip of your live site, and then you can drag and drop that zip file into Local to being the native import process.

If you’re going to go the manual import route, you can try following our steps here:

Manually Import a Local Site

Hi @faizzsheikh,

Action Recommended 1: Remove the object-cache.php file from the /wp-content/ directory.

Action Recommended 2: Remove the /object-cache-pro/ directory from the /wp-content/plugins/ directory.

That errror message is coming from the plugin used in the original hosting environment to access the Redis in-memory caching service; which is not available on your personal computer.

Thanks for the tip @johnlang86! @faizzsheikh could you give that a try and see if it helps resolve the issue?