• 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: https://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

    (@proaktion)

    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.