How to fix the Memcached error in WordPress during migration?
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