Title: atal error: Call to undefined function wp_get_current_user()
Last modified: August 19, 2016

---

# atal error: Call to undefined function wp_get_current_user()

 *  Resolved [VeepEnergy](https://wordpress.org/support/users/sxpiv/)
 * (@sxpiv)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/atal-error-call-to-undefined-function-wp_get_current_user/)
 * HI!
    I have a new 3.1 wordpress site,but have some difficulties few weeks ago
   Actually is looking like this:”Fatal error: Call to undefined function wp_get_current_user()
   in D:\Program Files\xampp\htdocs\wp-includes\user.php on line 254″ after i want
   install a new plugin,or remove a plugin. its which already works in other websites.
   whit the lates werson of word press Some able to help me fix this bug?
 * Im read a forums and im see,that someone else have a same problem,and hi get 
   the answear “I think its actually a bug in WordPress – the solution is to add
   a require_once call to the top of capabilities.php. “
    but im not find enything,
   how can i do this
 * Please,Help me!
    Thanks Zoltan

Viewing 1 replies (of 1 total)

 *  Thread Starter [VeepEnergy](https://wordpress.org/support/users/sxpiv/)
 * (@sxpiv)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/atal-error-call-to-undefined-function-wp_get_current_user/#post-1788303)
 * i get the answear.so its works now.

Viewing 1 replies (of 1 total)

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [VeepEnergy](https://wordpress.org/support/users/sxpiv/)
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/atal-error-call-to-undefined-function-wp_get_current_user/#post-1788303)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
