Title: Fatal error: Call to undefined function cache_users()
Last modified: August 20, 2016

---

# Fatal error: Call to undefined function cache_users()

 *  Resolved [fashionbop](https://wordpress.org/support/users/fashionbop/)
 * (@fashionbop)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-cache_users/)
 * I just updated this morning.. everything seems fine..
 * But when I clicked on the users in admin panel.
 * Fatal error: Call to undefined function cache_users() in /*****/html/wp-includes/
   user.php on line 562
 * I got such fatal error.. what I do now?? please help!
 * ———-
    this is part of the script near line 562.. By the way, I didn’t edit any
   script at all.
 *  if ( ‘all_with_meta’ == $this->query_vars[‘fields’] ) {
    cache_users( $this-
   >results );
 *  $r = array();
    foreach ( $this->results as $userid ) $r[ $userid ] = new WP_User(
   $userid, ”, $this->query_vars[‘blog_id’] );
 *  $this->results = $r;
    } }

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-cache_users/#post-2167421)
 * Have you tried:
 * – deactivating **all** plugins to see if this resolves the problem. If this works,
   re-activate the plugins one by one until you find the problematic plugin(s).
 * – switching to the Twenty Eleven theme to rule out any theme-specific problems.
 * – [resetting the plugins folder](http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F)
   by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause
   problems.
 *  Thread Starter [fashionbop](https://wordpress.org/support/users/fashionbop/)
 * (@fashionbop)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-cache_users/#post-2167582)
 * Don;t know why, I reinstall the WP 3.2, and now it’s fixed by itself..
 * Thanks anyway, esmi

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

The topic ‘Fatal error: Call to undefined function cache_users()’ is closed to new
replies.

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [fashionbop](https://wordpress.org/support/users/fashionbop/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-cache_users/#post-2167582)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
