WordPress.org

Ready to get started?Download WordPress

Forums

Help me Erro: Fatal error: Call to undefined function wp_get_current_user() in / (6 posts)

  1. RomanticBoy
    Member
    Posted 3 years ago #

    Help me Erro: Fatal error: Call to undefined function wp_get_current_user() in /

    I'm install WP MU 2.9, uprating to 3,0 + Buddy 1.24.
    Main site(mydomain.com) run normal, but sub blog (mydomain/newblog) not run and error :

    Fatal error: Call to undefined function wp_get_current_user() in /home/sanchoin/public_html/wp-includes/capabilities.php on line 1059.
    Help me, please!
    I don't want Re_install from begin!.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    You might want to try asking your question on http://mu.wordpress.org/forums/

  3. teamplaylotto
    Member
    Posted 3 years ago #

    romanticboy: this can happen if you're trying to determine the user level in an mu-plugins/ file. for example, if you try to use is_site_admin() before the pluggable or capabilities file has had a chance to be included.

    I'd look at the latest files you added to mu-plugins/

    go through each one and rename it from .php to .phpold and try to see the site. when you do get to see the site without error, you have found the file that is causing the problem

  4. asshu
    Member
    Posted 3 years ago #

    I am having the similar error.I have 78 plugins installed and can't say which of them are latest as I install many of them recently.
    Could you suggest me any other Ideas .

  5. WorldWideDancers
    Member
    Posted 3 years ago #

    Hello i have the same problem too , how did you resolve it ?

  6. asshu
    Member
    Posted 3 years ago #

    Sorry for delay ! I have just found your reply .
    I have renamed the plugins folder .SO all the plugins were deactivated automatically .Then my problem was resolved.Later I named the plugins folder as usual.

    But unfortunately I am facing the same problem with another wordpress installation and am getting the same problem for the sub-sites already created.There is no problem with newly created sites.I tried renaming the folder here.But my problem has not been solved.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.