[ Home ] [ Tech Tips ] [ Raspberry Pi ] [ Powershell ] [ Ubuntu ] [ Django ] [ About ]
Fix: Fatal error: Call to undefined function wp_cache_get()

Fix: Fatal error: Call to undefined function wp_cache_get()

This happened to me when i tried to delete W3 Total Cache and what i did to fix it.

Why this happened? My assumptionss, your website is using the cache from W3 and it doesn’t remove properly and you get left with internal broken links.

 

Lets fix

In this guide you have to have direct access or ftp/sftp/ssh (please dont use ftp since its highly insecure )

  1. Connect using your favourite. WinSCP, FileZilla etc or some hosting companies have a direct file access on the back end
  2. Navigate to /”Yourwebsite”/wp-content
  3. Rename dp.php to dp.php.delete
  4. Rename w3tc-config to w3tc-config.delete
  5. Ta Da! This got my website backup and working so go test

 

Now I don’t delete files unless i have to. So i just rename them .delete. Just in case you need them again in a hurry you don have to scurry around and find a backup.

 

Backup your website!

Always have a backup of your website in case something like this happens then your stress level is half? lol compared to loosing all of your stuff. I might write a guide soon on how I automatically backup my website.

 

Other guides are here for the same issue are here I hope they help if I didn’t http://www.kentooz.com/remove-w3-total-cache-manually/


Luke Keam
Thank you for reading. Any questions, comments or suggestions email me [email protected]
Luke Keam
techgeek.biz

FOLLOW US

Name
Email:

AD