Title: Fatal error: Call to undefined function wp_cache_get() in wp-includes/option.php
Last modified: August 21, 2016

---

# Fatal error: Call to undefined function wp_cache_get() in wp-includes/option.php

 *  Resolved [Mvd](https://wordpress.org/support/users/micx51/)
 * (@micx51)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-wp_cache_get-in-wp-includesoptionphp/)
 * Hi all,
 * I get this error and can’t resolve it cause I can’t login to my wp-admin:
 * Fatal error: Call to undefined function wp_cache_get() in wp-includes/option.
   php on line 49
 * The error seems to have something to do with w3total cache but that plugin is
   not active.
 * I’ve reset the plugins folder and even deleted the w3total cache plugins folder
   as well. The error persists,
    Any help apreciated A LOT!!!
 * Thanks
    PS. I had the lates version of that plugin running! (0.3.9.)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-wp_cache_get-in-wp-includesoptionphp/#post-4629281)
 * – If the troubleshooting steps you mentioned failed to resolve the issue, try
   manually re-uploading all files and folders EXCEPT the wp-config.php file and
   the /wp-content/ directory from a fresh download of WordPress. Make sure that
   you delete the old copies of files & folder before uploading the new ones. Read
   the [Manual Update ](http://codex.wordpress.org/Updating_WordPress#Manual_Update)
   directions first!
    – **BTW, always backup everything (including your database)
   before doing any actions, just in case.**
 *  Thread Starter [Mvd](https://wordpress.org/support/users/micx51/)
 * (@micx51)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-wp_cache_get-in-wp-includesoptionphp/#post-4629290)
 * Hi, thanks for the reply, I did a manual update, it didn’t help unfortunately.
 * Any other suggestions?
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-wp_cache_get-in-wp-includesoptionphp/#post-4629295)
 * Have you tried switching to the unedited default, core-bundled Theme (such as
   Twenty Twelve, Twenty Thirteen or Twenty Fourteen) for a moment using the WP 
   dashboard to rule out any theme-specific issue. If you don’t have access to your
   admin area, you can switch to the default theme by renaming your current theme’s
   folder in wp-content/themes and adding “-old” to the end of the folder name using
   via FTP or SFTP or whatever file management application your host provides. Alternately,
   you can remove other themes except the default theme. That will force your site
   to use it.
 *  Thread Starter [Mvd](https://wordpress.org/support/users/micx51/)
 * (@micx51)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-wp_cache_get-in-wp-includesoptionphp/#post-4629395)
 * Hi Tara,
 * Thanks for the help but I solved it myself already!
 * I renamed db-error-php (to backup-db-error.php) in the wp-content folder and 
   that pointed me to the solution as now the error red: “error establishing database
   connection”. I was working on this site, moving hosting package, and had not 
   filled in the database details in wp-config.php correctly.
 * Once I had filled in the details the site was running normally again!
 * (I thought that db-error.php was a file from the w3 total cache plugin, that’s
   why I renamed it).
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-wp_cache_get-in-wp-includesoptionphp/#post-4629397)
 * Glad you got it sorted 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Fatal error: Call to undefined function wp_cache_get() in wp-includes/
option.php’ is closed to new replies.

## Tags

 * [options.php](https://wordpress.org/support/topic-tag/options-php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-wp_cache_get-in-wp-includesoptionphp/#post-4629397)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
