Additional menu

WordPress – PHP Fatal error: Class ‘Memcached’ not found

WordPress – PHP Fatal error: Class ‘Memcached’ not found

Geek Flare Blog post is sponsored by Netsparker Web Application Security Scanner.

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

Chandan Kumar
About Chandan
Chandan Kumar is the founder of Geek Flare. Learn more here and connect with him on Twitter.

Leave a Reply

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