• After updating to 3.6.1 (use the WP automatic update) I received the follow error at the end of the update:

    Fatal error: Call to undefined function wp_get_current_user() in /home/mthope/public_html/wp-includes/capabilities.php on line 1286

    On advice I found here, I modified the wp-includes/capabilities.php file to add this to the top of the file:

    require_once(‘pluggable.php’);

    Today I updated to 3.7.1 (using the WP automatic update) and once again, I received the same error. I uploaded the previous capabilities.php file I had modified (and saved) and once again, it fixed the problem.

    What’s going on here?

Viewing 1 replies (of 1 total)
  • On advice I found here

    That was very bad advice! You should never, ever, edit WordPress core files. Try re-uploading all files & folders – except the root wp-config.php & .htaccess files and the the wp-content folder – from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.

Viewing 1 replies (of 1 total)
  • The topic ‘Updates cause problems: Fatal error: Call to undefined function…’ is closed to new replies.