Check again that you have uploaded all the files correctly.
Both those functions are defined in wp-includes/pluggable-functions.php which may be missing or corrupt in your uploaded files.
Thread Starter
jwl
(@jwl)
Hmm yea. I backed up wp-content/ and wp-config.php, removed everything and that installed new files from latest.tar.gz again. That worked. Weird, but thanks anyway 🙂
I’m having this very same problem. I followed the directions to upgrade exactly. Then when I went to the admin page, all I got was a blank page. The blog worked fine, but the admin page showed up blank. Then I read this post and followed what happened. I re-installed the wp-includes/pluggable-functions.php file as suggested above. Now, blog no longer works and I get this error message:
Fatal error: Call to undefined function: setup_userdata() in /home/content/a/m/r/amrosario/html/amrpixblog/wp-includes/pluggable-functions.php on line 21
I’m not a genius about this stuff so I need help. This is not my main blog yet – an experiment to try out the upgrade process. Can anyone help?
Thanks.
Try re-uploading the entire wp-includes and wp-admin directories.
And preferably backup and delete (or just rename) the old ones first.
Thanks. That seemed to fix that. But….
Now, with new found confidence, I decided to upgrade my main blog and….
Big zip!
Now I get this error when I try to get to the admin:
Fatal error: Call to undefined function: wp_get_current_user() in /home/content/a/m/r/amrosario/html/techblog/wp-admin/admin.php on line 20
Help again, please?
That function should be in wp-include/pluggable-functions.php. Try deleting and re-uploading that file.
i had the same problem.
turns out one of the plugins i had was causing the issue.
backup your plugins except for the ones on there by default, run the upgrade script, then re-upload.