• Fatal error: Call to undefined function wp_get_current_user() in /home/s****a/public_html/wp-includes/user.php on line 227

    I am not able to access dashboard and website due to above error.

    Please let me know how can i solve this issue & remove that error.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator keesiemeijer

    (@keesiemeijer)

    try:
    – switching to the default theme by renaming your current theme’s folder in wp-content/themes using FTP or whatever file management application your host provides.

    resetting the plugins folder by using FTP or whatever file management application your host provides. Sometimes, an apparently inactive plugin can still cause problems.

    Thread Starter Ajay Tiwari

    (@mmajay)

    Well everything was working fine and all plugins were active.. i just auto upgraded plugins which had updates and from that time getting above error.

    Moderator keesiemeijer

    (@keesiemeijer)

    Did you try to reset the plugin folder?

    Thread Starter Ajay Tiwari

    (@mmajay)

    Thank you very much Mod… i did as of what you said and found that the problem was due to WordPress security scan plugin upgrade.. so i inactivated that everything is working fine now. Thank you very much..

    Moderator keesiemeijer

    (@keesiemeijer)

    You’re welcome. Glad you got it resolved

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