Title: Fatal &#8230; undefined function wp_get_current_user() in wp-includes/user.php 223
Last modified: August 19, 2016

---

# Fatal … undefined function wp_get_current_user() in wp-includes/user.php 223

 *  Resolved [cullaloe](https://wordpress.org/support/users/cullaloe/)
 * (@cullaloe)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/fatal-undefined-function-wp_get_current_user-in-wp-includesuserphp-223/)
 * I have a WPMU installation, which I have just upgraded to WP3.0. I have multiple
   domains using the same installation but *some* of the non-primary domains are
   broken with the above error displayed instead of [anything!].
 * I’ve tried messing about with plugins, even disabling them through the database–
   no change.
 * I used the automatic upgrade on the primary domain (main.com). All of the blogs,
   er, sorry, “sites”, on this domain work fine, e.g. main.com/bloga, main.com/blogz.
 * In the dashboard of the main.com sites, “my sites” displays all of the sites 
   across the entire installation. In the super admin “sites” menu, only the sites
   in the current domain (main.com, sub1.com) are shown. This seems backawrds to
   me?
 * Anyway, any ideas what to try next please?
 * Thanks.

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

 *  Thread Starter [cullaloe](https://wordpress.org/support/users/cullaloe/)
 * (@cullaloe)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/fatal-undefined-function-wp_get_current_user-in-wp-includesuserphp-223/#post-1544339)
 * Still digging.
 * The updated blogs which work OK all have db_version 15260, which I guess would
   be the 3.0 version. The two blogs which do not work are (a) located in the root
   directory and (b) have db_version 12329.
 * Is there a script I can run manually to upgrade these two sites?
 * Thanks.
 * Nick
 *  Thread Starter [cullaloe](https://wordpress.org/support/users/cullaloe/)
 * (@cullaloe)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/fatal-undefined-function-wp_get_current_user-in-wp-includesuserphp-223/#post-1544354)
 * OK. This is what I did to fix this.
 * Using php-myAdmin, updated wp_blogs such that the site_id=1 (the main blog).
 * Then, visited each site and ran the /wp-admin/update.php script. This updated
   the database version to the current value (in blog_versions, db_version=15260)
 * Then ran the database repair script /wp_admin/maint/repair.php to check it was
   all hunky dory.
 * All the sites *seem* to be working OK now.
 *  [adrian7](https://wordpress.org/support/users/adrian7/)
 * (@adrian7)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/fatal-undefined-function-wp_get_current_user-in-wp-includesuserphp-223/#post-1544744)
 * I had the same problem, but it appeared just after uploading the WP-reCaptcha
   files. So removing them had solved it.
    Well so, it seems to be a bug of the 
   plugin or an incompatibility with WordPress MU 3.0. Digging it… .

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

The topic ‘Fatal … undefined function wp_get_current_user() in wp-includes/user.
php 223’ is closed to new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [script](https://wordpress.org/support/topic-tag/script/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [adrian7](https://wordpress.org/support/users/adrian7/)
 * Last activity: [15 years, 10 months ago](https://wordpress.org/support/topic/fatal-undefined-function-wp_get_current_user-in-wp-includesuserphp-223/#post-1544744)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
