Title: Uncaught Error: Call to undefined function wp_cache_get()
Last modified: November 14, 2022

---

# Uncaught Error: Call to undefined function wp_cache_get()

 *  [curiousrob](https://wordpress.org/support/users/curiousrob/)
 * (@curiousrob)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-wp_cache_get/)
 * Hi,
 * I’m getting these fatal errors in the error log:
 *     ```
       PHP Fatal error:  Uncaught Error: Call to undefined function wp_cache_get() in /home/website/public_html/wp-includes/option.php:165
       Stack trace:
       #0 /home/website/public_html/wp-includes/l10n.php(63): get_option('WPLANG')
       #1 /home/website/public_html/wp-includes/l10n.php(139): get_locale()
       #2 /home/website/public_html/wp-includes/l10n.php(766): determine_locale()
       #3 /home/website/public_html/wp-includes/load.php(1395): load_textdomain('default', '/home/website...')
       #4 /home/website/public_html/wp-includes/class-wpdb.php(1815): wp_load_translations_early()
       #5 /home/website/public_html/wp-includes/class-wpdb.php(734): wpdb->db_connect()
       #6 /home/website/public_html/wp-includes/load.php(562): wpdb->__construct('website_UserName', 'bvdsvhhvbbvs...', 'website_db', 'localhost')
       #7 /home/website/public_html/wp-settings.php(124): require_wp_db()
       #8 /home/website/public_html/wp-config.php(89): require_once('/home/website...')
       #9 /home/website/public_html/wp-load.php(50): require_once('/home/website...') in /home/website/public_html/wp-includes/option.php on line 165
       ```
   
 * We’re running WooCommerce and TranslatePress.
 * I’ve reinstalled the core WordPress files through the Admin panel, but the issue
   persists.
 * TranslatePress says this error is nothing to do with them.
 * Any ideas what could be causing this?
 * Cheers,
    Rob

Viewing 1 replies (of 1 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-wp_cache_get/#post-16197814)
 * Didi this error occurred after WP update? If so, then you may be dealing with
   incomplete/broken update.

Viewing 1 replies (of 1 total)

The topic ‘Uncaught Error: Call to undefined function wp_cache_get()’ is closed 
to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-wp_cache_get/#post-16197814)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
