Skip to:
Content
Pages
Categories
Search
Top
Bottom

Fatal error: Call to undefined function wp_get_current_user()

  • Profile photo of Jfcarter
    jfcarter
    Participant

    @jfcarter

    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)
  • Profile photo of Burt Adsit
    Burt Adsit
    Participant

    @burtadsit

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

    Profile photo of Trent Adams
    Trent Adams
    Participant

    @trent

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

    Trent

    Profile photo of Jfcarter
    jfcarter
    Participant

    @jfcarter

    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!

    Profile photo of Nicola Greco
    nicolagreco
    Participant

    @nicolagreco

    you should update your mu!

    Profile photo of Jfcarter
    jfcarter
    Participant

    @jfcarter

    Why? It’s working now!

    Profile photo of Nicola Greco
    nicolagreco
    Participant

    @nicolagreco

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

    Profile photo of Jfcarter
    jfcarter
    Participant

    @jfcarter

    @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

    Profile photo of Devrim
    Devrim
    Participant

    @devrim

    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.

    Profile photo of Devrim
    Devrim
    Participant

    @devrim

    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

    Profile photo of Andy Peatling
    Andy Peatling
    Keymaster

    @apeatling

    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.