Title: Fatal error &#8211; wp_get_current_user() function not found.
Last modified: August 29, 2017

---

# Fatal error – wp_get_current_user() function not found.

 *  [toophat](https://wordpress.org/support/users/toophat/)
 * (@toophat)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-wp_get_current_user-function-not-found/)
 * Hi,
 *  I just ran into php fatal error message in my errorlog, looks like group is 
   not finding wp_get_current_user. Get the error when I try to open Shareaholic
   plugin’s admin page through the dashboard. If I deactivate Groups plugin, shareaholic
   admin page comes up, otherwise, it fails to open.
 *  We are using the latest version of Groups plugin: 2.3.0
 *  Here is the stack trace:
    ——— [Mon Aug 28 15:33:12.155481 2017] [proxy_fcgi:
   error] [pid 7362] [client 47.139.54.181:56325] AH01071: Got error ‘PHP message:
   PHP Fatal error: Uncaught Error: Call to undefined function wp_get_current_user()
   in /staging/wp-includes/capabilities.php:539\n Stack trace:\n #0 /staging/wp-
   content/plugins/groups/lib/access/class-groups-comment-access.php(218): current_user_can(‘
   groups_admin_gr…’)\n #1 /staging/wp-includes/class-wp-hook.php(298): Groups_Comment_Access::
   wp_count_comments(Array, 0)\n #2 /staging/wp-includes/plugin.php(203): WP_Hook-
   >apply_filters(Array, Array)\n #3 /staging/wp-includes/comment.php(1239): apply_filters(‘
   wp_count_commen…’, Array, 0)\n #4 /staging/wp-content/plugins/shareaholic/utilities.
   php(1060): wp_count_comments()\n #5 /staging/wp-content/plugins/shareaholic/shareaholic.
   php(211): ShareaholicUtilities::log_event(‘Upgrade’, Array)\n #6 /staging/wp-
   content/plugins/shareaholic/shareaholic.php(181): Shareaholic::update()\n #7 /
   staging/wp-content/plugins/shareaholic/shareaholic.php(172): Shareaholic::init()\
   n #8 /…\n’, referer: [http://stage.larryjordan.com/wp-admin/admin.php?page=gf_settings](http://stage.larryjordan.com/wp-admin/admin.php?page=gf_settings)
 * ———-
 * PLease comment on this issue. Like to get this resolved asap.
 * Thanks,
    -Sudd.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Kento](https://wordpress.org/support/users/proaktion/)
 * (@proaktion)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-wp_get_current_user-function-not-found/#post-9452043)
 * Hi Sudd,
 * Thanks for reporting the conflict, we’ll have a look at the combination to see
   if and how this could be made to work together.
 * Cheers

Viewing 1 replies (of 1 total)

The topic ‘Fatal error – wp_get_current_user() function not found.’ is closed to
new replies.

 * ![](https://ps.w.org/groups/assets/icon-256x256.png?rev=983146)
 * [Groups](https://wordpress.org/plugins/groups/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/groups/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/groups/)
 * [Active Topics](https://wordpress.org/support/plugin/groups/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/groups/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/groups/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Kento](https://wordpress.org/support/users/proaktion/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-wp_get_current_user-function-not-found/#post-9452043)
 * Status: not resolved