Skip to:
Content
Pages
Categories
Search
Top
Bottom

Fatal error: Call to undefined function wp_get_current_user()

  • @jfcarter

    Participant

    I installed WPMU, which seems to be working fine. After I installed the buddypress plugin, I am getting the following error whenever I try to view my site: Call to undefined function wp_get_current_user() in /html/wp-includes/capabilities.php line 920.

    But if I remove the buddypress plugin, the WPMU works fine. (Note that the relevant permissions are already set to 755.)

    I’ve been hearing that this is caused by a widget error in one of the buddypress plugins, but am not sure how to fix it.

    Any advice would be appreciated.

Viewing 10 replies - 1 through 10 (of 10 total)
  • @burtadsit

    Participant

    Haven’t run across this as an issue with bp before.

    @trent

    Participant

    I don’t think it is exactly a strictly BP issue, but I have no idea other than this google search.

    Trent

    @jfcarter

    Participant

    I found this post and it helped (https://mu.wordpress.org/forums/topic.php?id=7393)

    In file wp-includes/capabilities.php add on line 2:

    require_once(‘pluggable.php’);

    Worked PERFECTLY!

    @nicolagreco

    Participant

    you should update your mu!

    @jfcarter

    Participant

    Why? It’s working now!

    @nicolagreco

    Participant

    because i think you’re using svn, you should upgrade to the final :)

    @jfcarter

    Participant

    @nicolagreco,

    Thank you for your post. I thought I downloaded the buddypress combo, which is the final version. I didn’t even go to the SVN site.

    Is there someplace I can double check to make sure I have the final version?

    Thanks,

    Jessica

    @devrim

    Participant

    Jessica, it has nothing to do with update, svn, final or whatsoever..

    only the fix below works. like you posted.

    In file wp-includes/capabilities.php add on line 2:

    require_once(‘pluggable.php’);

    thanks, it helped us too.

    @devrim

    Participant

    and to whom it may concern; these kind of errors are discouraging. If we had a decent buddypress alternative we would have switched already. $bp related errors* and errors that belong to the core, very demotivating as they are making our whole system unstable.

    We spend hours first on the system try to find what’s wrong, and hours on internet try to find if anyone else has a fix.

    * https://buddypress.org/forums/topic.php?id=1125&replies=14#post-6258

    @apeatling

    Keymaster

    Welcome to pre-release software devrim. Make sure you report the errors.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Fatal error: Call to undefined function wp_get_current_user()’ is closed to new replies.
Skip to toolbar