WordPress.org

Ready to get started?Download WordPress

Forums

Fatal error: Call to undefined function wp_get_current_user() in /home/XXXXX/ (3 posts)

  1. Mitch
    Member
    Posted 3 years ago #

    I updated 4 sites with no problem got to my Network Site and got this when ever I try to go to update at top bar or the update network link
    Fatal error: Call to undefined function wp_get_current_user() in /home/XXXXX/public_html/wp-includes/capabilities.php on line 1028

  2. keesiemeijer
    moderator
    Posted 3 years ago #

    "Fatal error: Call to undefined function" is always a sign of an incomplete upgrade, where not all the files got upgraded.
    Do a manual upgrade by using FTP or whatever file management application your host provides.

  3. Mitch
    Member
    Posted 3 years ago #

    Thanks for getting back to me I did the manual update all files that I over wrote where already there.
    I clicked the update link at top again and saw it was going to update-core and then gets that error.
    if I put in /wp-admin/update.php it says no further update necessary
    I clcik on and it says database up to date

    I think dug a little more it seams its the network update thats the problem if I click
    Thank you for Updating! Please visit the Update Network page to update all your sites.
    this link
    http://xxxxxxx.com/wp-admin/network/upgrade.php
    I get that error also besides http://xxxxxx.com/wp-admin/network/update-core.php

Topic Closed

This topic has been closed to new replies.

About this Topic