Geekflare is supported by our audience. We may earn affiliate commissions from buying links on this site.
In WordPress Last updated: June 12, 2020
Share on:
Invicti Web Application Security Scanner – the only solution that delivers automatic verification of vulnerabilities with Proof-Based Scanning™.

How to fix the Memcached error in WordPress during migration?

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

The 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.

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

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

The above example is for shared hosting but this can happen on VPS or Cloud server as well. The idea is to move/clean object-cache.php.

  • Chandan Kumar
    Author
    Chandan Kumar is the founder of Geekflare. He’s helped millions to excel in the digital realm. Passionate about technology, He’s on a mission to explore the world and amplify growth for professionals and businesses.
Thanks to our Sponsors
More great readings on WordPress
Power Your Business
Some of the tools and services to help your business grow.
  • Invicti uses the Proof-Based Scanning™ to automatically verify the identified vulnerabilities and generate actionable results within just hours.
    Try Invicti
  • Web scraping, residential proxy, proxy manager, web unlocker, search engine crawler, and all you need to collect web data.
    Try Brightdata
  • Monday.com is an all-in-one work OS to help you manage projects, tasks, work, sales, CRM, operations, workflows, and more.
    Try Monday
  • Intruder is an online vulnerability scanner that finds cyber security weaknesses in your infrastructure, to avoid costly data breaches.
    Try Intruder