How to fix Memcached error in WordPress during migration?

While migrating Geek Flare from SiteGround to InMotionHosting, I encounter memcached not found error. I spent few minutes and was able to fix this so here is what I did to fix this.

Error I received:

PHP Fatal error: Class 'Memcached' not found in wp-content/object-cache.php on line 425

I talked to InMotionHosting support and understood memcached is not available on shared hosting which has caused this error as it had with SiteGround.

So how did I fix it?

Well, it was easier than I thought. Here is what I did.

  1. Login into cPanel
  2. Go to File Manager >> wp-content
  3. Move object-cache.php to some other name

That’s all. I refreshed and got Geek Flare running on InMotionHosting.

Reader Interactions

Comments

Your email address will not be published. Required fields are marked *