Discussion  - 
 
Help! Serious #wordpress error. I updated to v3.5 but now the website says there is a fatal error. No wp-admin access.

I have tried the manual update...

http://codex.wordpress.org/Updating_WordPress#Manual_Update

No difference.

Fatal error: Call to undefined function wp() in ......... 
Check Requirements. Whatever the reason for updating, before getting started it is best to check the current minimum requirements page first to make sure that your web host has the required versions o...
1
1
Craig Tran's profile photoLateef TheIndustryDude's profile photoArlen Nagata's profile photoMark Stronge's profile photo
15 comments
 
did you back-up everything prior to updating?
 
Just the wp-content. Is there something obvious that can be done?
 
have you logged back in and done a database update? If not you can always just put your old wp-content and wp-include directories back?
Any chance of the rest of the fatal error message?
 
Fatal error: Call to undefined function nocache_headers() in /home/boatdoct/public_html/wp-admin/admin.php on line 32

I only have ftp access now.

Trying to access home page...


Fatal error: Call to undefined function wp() in /home/boatdoct/public_html/wp-blog-header.php on line 14
 
If you can't reinstall a backup, your webhosting service may have tech support help you. I've used Webhostinghub and they've bailed me out before.

I had some hiccups in my update last night, and some of my content disappeared (I had just posted some new stuff), but I was able to re-post.
 
Should the manual update not have fixed it? is it a plugin that has failed and how can I disable plugins without wpadmin access?
 
Hi +Mark Stronge try downloading the previous version of Wordpress your site was running and just manually copying back all the core WP folders and files back to your root folder. (as mentioned by +Stuart Laverick ) This should be the /wp-admin and /wp-include folders as well as all the wp-* files in the root. Of course do not overwrite your existing wp-config.php file. This should get you at least back to your previous state.
 
Thankyou thankyou +Craig Tran that worked. I downloaded 3.4.2 from wordpress and uploaded all the files apart from the wp-content and the website is working again. So how do I go about upgrading? 
 
Try disabling the plugins before updating. I had a warning message coming up after updating to 3.5 and someone suggested to disable all plugins and enable them one by one to find out which one is not yet compatible with v3.5.

Alternatively, you can make a copy of your site and run it locally (i.e. on your machine) and then disable the plugins, update, and then enable each one. If suddenly you have the same error then you know which plugin not to enable. When you are finished you can just enable those plugins that worked ok with the new version in your live site.
 
I'd also suggest mirroring the site on a staging environment as locally as +Phillip Flores suggests or somewhere on your host and applying the upgrade with disabled plugins.
 
Yes, I had a similar problems last night. It showed errors, I had access. I just deactivated all the plugins & worked. Also, contact your host & ask for a roll back to before you updated. That might work! Keep me posted...
 
I haven't been brave enough to update yet :-) at least I got rolled back ok. Maybe I will try disabling plugins and then update...
 
Wow, no problems here. Updated over 20 sites. Lmk what the problem plugin was so we can avoid it. :)
 
Hi all, long time no hear. I plucked up the courage to update wordpress, I disabled all the plugins and updated, SAME ERROR! So I have backuped everything including using the Export feature. What are my options?
Add a comment...