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


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
.
More great readings on WordPress
-
Understanding 301 Redirects for BeginnersTanish Chowdhary on June 16, 2022
-
A2 Managed WordPress Hosting is for The Professional BloggerHitesh Sant on June 10, 2022
-
Top 8 Platforms to Hire WordPress DevelopersGeekflare Editorial on June 6, 2022
-
Start Your Online Shop Today with Nexcess StoreBuilderHitesh Sant on May 25, 2022
-
How to Protect Your WordPress Site with iThemes Security ProHitesh Sant on May 7, 2022
-
6 Best WordPress Accessibility Plugins in 2022Tamal Das on April 22, 2022
Join Geekflare Newsletter
Every week we shareย trending articlesย andย toolsย in our newsletter. More than 10,000 people enjoy reading, and you will love it too.