• Resolved siteshack

    (@siteshack)


    Hi
    Ever since version 2.2.2 i get this error

    Uncaught Error: Call to undefined function wp_get_current_user() in /home/customer/www/XXXX.com.au/public_html/wp-includes/capabilities.php:693 Stack trace: #0 /home/customer/www/XXXX.com.au/public_html/wp-content/plugins/ultimate-member/includes/core/class-access.php(433): current_user_can('administrator') #1 /home/customer/www/XXXX.com.au/public_html/wp-includes/class-wp-hook.php(307): um\core\Access->exclude_posts(Object(WP_Query)) #2 /home/customer/www/XXXX.com.au/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #3 /home/customer/www/XXXX.com.au/public_html/wp-includes/plugin.php(524): WP_Hook->do_action(Array) #4 /home/customer/www/XXXX.com.au/public_html/wp-includes/class-wp-query.php(1805): do_action_ref_array('pre_get_posts', Array) #5 /home/customer/www/XXXX.com.au/public_html/wp-includes/class-wp-query.php(3586): WP_Query->get_posts() #6 /home/customer/www/XXXX.com.au/public_html/wp-includes/post.php(2410): WP_Query->query(Array) #7 /home/customer/w in /home/customer/www/XXXX.com.au/public_html/wp-includes/capabilities.php on line 693

    I have disabled all other plugins but still the same

Viewing 7 replies - 1 through 7 (of 7 total)
  • gelieys

    (@gelieys)

    missveronica

    (@missveronicatv)

    @siteshack

    This issue should be solved in the upcoming UM Version 2.4.1

    https://github.com/ultimatemember/ultimatemember/issues/1010

    Plugin Support Ultimate Member Support

    (@ultimatemembersupport)

    Hi @siteshack

    We’ve released version 2.4.1.

    Let us know if you’re still having issues.

    Plugin Support Ultimate Member Support

    (@ultimatemembersupport)

    Hey there!

    This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to re-open this thread by changing the Topic Status to ‘Not Resolved’ if any other questions come up and we’d be happy to help. 🙂

    Regards,

    Thread Starter siteshack

    (@siteshack)

    Hi

    I have updated thru all versions to 2.5 and it still crashes the site. I’m stuck in v2.2.2

    This is the current error
    Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() in /home/customer/www/*****.com.au/public_html/wp-includes/capabilities.php:693 Stack trace: #0 /home/customer/www/*****.com.au/public_html/wp-content/plugins/ultimate-member/includes/core/class-access.php(433): current_user_can('administrator') #1 /home/customer/www/*****.com.au/public_html/wp-includes/class-wp-hook.php(307): um\core\Access->exclude_posts(Object(WP_Query)) #2 /home/customer/www/*****.com.au/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #3 /home/customer/www/*****.com.au/public_html/wp-includes/plugin.php(524): WP_Hook->do_action(Array) #4 /home/customer/www/*****.com.au/public_html/wp-includes/class-wp-query.php(1805): do_action_ref_array('pre_get_posts', Array) #5 /home/customer/www/*****.com.au/public_html/wp-includes/class-wp-query.php(3586): WP_Query->get_posts() #6 /home/customer/www/*****.com.au/public_html/wp-includes/post.php(2410): WP_Query->query(Array) #7 /home/customer/www in /home/customer/www/*****.com.au/public_html/wp-includes/capabilities.php on line 693

    @siteshack

    I have made a new Bug report at UM’s GitHub list of unresolved issues:

    https://github.com/ultimatemember/ultimatemember/issues/1078

    Plugin Author Mykyta Synelnikov

    (@nsinelnikov)

    Hi @siteshack

    Please check this branch with the fixes.
    If it works, we will make the release in a few days.

    https://github.com/ultimatemember/ultimatemember/tree/development/2.5.1

    Let me know,
    Best Regards!

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

The topic ‘Upgrade error’ is closed to new replies.