Title: PHP Fatal error:  Call to undefined function wp_get_current_user()
Last modified: August 21, 2016

---

# PHP Fatal error: Call to undefined function wp_get_current_user()

 *  Resolved [osify](https://wordpress.org/support/users/osify/)
 * (@osify)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-wp_get_current_user/)
 * After I upgrade jetpack 2.3.7 (not sure) with WangGuard 1.5.7, it makes my sites
   down with following error:
 * > PHP Fatal error: Call to undefined function wp_get_current_user() in /wp-includes/
   > capabilities.php on line 1451
 * When I removed this plugin only, the website is back and no above issue so I 
   believe it’s because of this plugin, please have a look and correct.
 * [http://wordpress.org/extend/plugins/wangguard/](http://wordpress.org/extend/plugins/wangguard/)

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

 *  Plugin Author [Jose Conti](https://wordpress.org/support/users/jconti/)
 * (@jconti)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-wp_get_current_user/#post-3917489)
 * Please, refere to this one [http://wordpress.org/support/topic/dont-work-with-352-multisite?replies=7](http://wordpress.org/support/topic/dont-work-with-352-multisite?replies=7)
 * A need more info about it.
 * Thank you
 *  Plugin Author [Jose Conti](https://wordpress.org/support/users/jconti/)
 * (@jconti)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-wp_get_current_user/#post-3917607)
 * Hi,
 * Are you using Multisite Plugin Manager?
 * If yes, the problem is not WangGuard, is Multisite Plugin Manager.
 * Deactivate that plugin and you will see that all works again (with WangGUard 
   active)
 * There is something wrong when WangGuard and Multisite Plugin Manager are in the
   same install.
 * At this time, you you have to choose between WangGuard and Multisite Plugin Manager.
 * I can investigate why it is happenning, but the mystery is solved.
 * Kind regards
 *  Thread Starter [osify](https://wordpress.org/support/users/osify/)
 * (@osify)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-wp_get_current_user/#post-3917630)
 * Yes, you are right, I have also Multisite Plugin Manager. I will remove it if
   it’s working or not.
 *  Plugin Author [Jose Conti](https://wordpress.org/support/users/jconti/)
 * (@jconti)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-wp_get_current_user/#post-3917635)
 * Yes,
 * If you remove Multisite Plugin Manager, WangGuard will work without problems.
 * Kind regards
 *  Plugin Author [Jose Conti](https://wordpress.org/support/users/jconti/)
 * (@jconti)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-wp_get_current_user/#post-3917648)
 * After look for a fix, I found a Fork of Multisite Plugin Manager that works fine.
 * The Developer forked that plugin because he had a lot of problems like yours.
 * I tested the plugin and works fine without problems.
 * You can Download the plugin from this link:
 * [https://github.com/wp-repository/multisite-plugin-manager/archive/master.zip](https://github.com/wp-repository/multisite-plugin-manager/archive/master.zip)
 * You will need to rename the plugin folder from multisite-plugin-manager-master
   to multisite-plugin-manager
 * You can see all the code here:
 * [https://github.com/wp-repository/multisite-plugin-manager](https://github.com/wp-repository/multisite-plugin-manager)
 * I mark this topic as resolved.
 * Kind regards
 *  Thread Starter [osify](https://wordpress.org/support/users/osify/)
 * (@osify)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-wp_get_current_user/#post-3917649)
 * Thanks for your helpful 😉
 *  Plugin Author [Jose Conti](https://wordpress.org/support/users/jconti/)
 * (@jconti)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-wp_get_current_user/#post-3917651)
 * You’re welcome
 *  [paisleydoc](https://wordpress.org/support/users/paisleydoc/)
 * (@paisleydoc)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-wp_get_current_user/#post-3917762)
 * Hello,
 * I attempted to upgrade word press and got the following error:
 * Fatal error: Call to undefined function wp_get_current_user() in /home4/rpaisley/
   public_html/resetnaturally.com/wp-includes/capabilities.php on line 1281
 * I see that others have struggled with a similar error but honestly…i have read
   the troubleshooting tips and I have no idea what the mean. I am very naive in
   this arena.
 * Where do i start, i cannot even get to my “admin”?
 * thanks!
 *  Plugin Author [Jose Conti](https://wordpress.org/support/users/jconti/)
 * (@jconti)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-wp_get_current_user/#post-3917763)
 * The problem, I think, is a plugin.
 * Do you use Multisite plugin manager?
 *  [Jose C](https://wordpress.org/support/users/jcervantes28/)
 * (@jcervantes28)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-wp_get_current_user/#post-3917776)
 * Thank you…I was using multisite plugin manager and disabled it and it worked 
   for me…
 * New to multisite here…am i going to come across problems like this with a lot
   of plugins that may not work well with this multisite setup?
 *  Plugin Author [Jose Conti](https://wordpress.org/support/users/jconti/)
 * (@jconti)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-wp_get_current_user/#post-3917777)
 * No, all plugins work with multisite but Multisite Plugin Manager has a lot of
   problems with other plugins. If you want to use it, you can use the forked version
   in GitHub.
 * Kind regards

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

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

 * ![](https://s.w.org/plugins/geopattern-icon/wangguard_c6c6c6.svg)
 * [WangGuard](https://wordpress.org/plugins/wangguard/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wangguard/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wangguard/)
 * [Active Topics](https://wordpress.org/support/plugin/wangguard/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wangguard/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wangguard/reviews/)

## Tags

 * [undefined function](https://wordpress.org/support/topic-tag/undefined-function/)
 * [wp_get_current_user](https://wordpress.org/support/topic-tag/wp_get_current_user/)

 * 11 replies
 * 4 participants
 * Last reply from: [Jose Conti](https://wordpress.org/support/users/jconti/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/php-fatal-error-call-to-undefined-function-wp_get_current_user/#post-3917777)
 * Status: resolved