Can't Login After Automatic 4.0 Upgrade
-
It appears my site automatically upgraded today. Since then I have not been able to log into the back panel.
My error is:
Fatal error: Class ‘WP_Session_Tokens’ not found in /home/content/c/o/t/cotrsermons/html/wp-includes/pluggable.php on line 879I have disabled plug-ins and still get the same error. I am now seeing where others are receiving a similar error.
Thanks.
john
-
Since you have already reset your plugins (I assume that’s what you meant), access your server via FTP or SFTP, navigate to
/wp-content/themes/
and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).If that doesn’t resolve the issue, try downloading WordPress again and delete then replace your copies of everything except the
wp-config.php
file and the/wp-content/
directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings. Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.I did have to download a fresh copy and upload new files. Turns out when it auto-updated there were pieces that didn’t update. In my case specifically session.php and references to it in the wp-settings.php. Since it appeared that those files were incomplete, I decided it would probably be best to upload new files.
Worked great!
Thanks for all your help.
You’re welcome!
Hi
I have the same problem, I have d/l WP4 and uploaded the files session.php and wp-settings php but doing so produces a new error message:
Fatal error: Call to undefined function wp_get_session_token() in /websites/123reg/LinuxPackage22/ke/mn/ay/kemnay.info/public_html/wp-includes/pluggable.php on line 1751There were other problems after upgrading to WP4 which I have resolved but this one just has me beat. We can’t make any changes to our village website and I don’t think I will ever upgrade versions again IF I am ever able to access the site again that is. I have wasted days on this problem.
Please can anyone suggest a solution?
If the solution already posted above did not work for you, then you don’t have the same problem, and you should open your own support thread: https://www.ads-software.com/support/forum/how-to-and-troubleshooting#postform
MacManX
You say I don’t have the same problem, ok let me put it this way:
It appears my site automatically upgraded today. Since then I have not been able to log into the back panel.
My error is:
Fatal error: Class ‘WP_Session_Tokens’ not found in /home/content/c/o/t/cotrsermons/html/wp-includes/pluggable.php on line 879I have disabled plug-ins and still get the same error. I am now seeing where others are receiving a similar error.
Sound familiar?
The above fix didn’t work, if I post it under a new thread someone will just kindly provide me with a link back to this thread for a solution and we just go round and round in a loop.
Right, but in your reply you said you only replaced two files. The solution posted above was to “try downloading WordPress again and delete then replace your copies of everything except the
wp-config.php
file and the/wp-content/
directory with fresh copies from the download.”Mac’
I have renamed all the root directory files with an extension “old” (except the wp-config.php file) and uploaded all the new WP4 files, doing so produces a new error message:Fatal error: Call to undefined function wp_get_session_token() in /websites/123reg/LinuxPackage22/ke/mn/ay/kemnay.info/public_html/wp-includes/pluggable.php on line 1751
Renaming the plugins folder “plugins.hold” makes no difference.
The problem occurred when I was updating plugins which were flagged red for update. After updating there was one more shown at the top of the page WordPress v4 which was hyperlinked so I clicked it and it went something like unpacking, verifying, preparing maintenance mode, installing … and nothing after that, the screen just hung.
Initially the website pages would not display, with an error message relating to a “style.php” file. I located that in WPv4 and uploaded it to WP-includes and to my relief all the webpages returned to normal.
At the moment I can get as far as logging in but then the above error message
I agree with your thoughts that I don’t think it installed properly but I am sitting here dreading the thought of deleting the wp-includes and wp-admin folders and uploading the new WPv4 versions … I dread the thought that the whole site gets messed up. It looks increasingly like I have no option. Do you think I could rename the existing folders by adding “old” and then upload the new wpv4 folders? I have even been toying with the idea of by the same process going back to WP v3.9.2, which I d/l earlier today.
Thanks for the help
David
You’ll need to delete and replace all the files, except the
wp-config.php
file and the/wp-content/
directory with fresh copies from the download, that includes deleting and replacing everything in/wp-admin/
and/wp-includes/
.It’s perfectly safe. I wouldn’t suggest it if it were dangerous or pointless. ??
Mac’
wp-admin and wp-includes now deleted and replaced with the WPv4 files and IT WORKED! I never thought I could be so pleased to see the WP dashboard again.Many thanks
David
You’re welcome! ??
I am also unable to log into the Control Panel after the auto update. I am not getting an error when I attempt to login but when I enter the username and PW to my back end it just doesn’t go anywhere. It’s like a loop that redirects back to right where it is.
So far I have deleted everything on the root level except the ‘wp-config’ file and i deleted the admin and includes folders and replaced them with the 4.0 files. Is there any assistance anyone can give me? my site address is ‘erinjackson.net’ Any help is greatly appreciated.
If any of the steps above (resettings plugins, changing theme, re-installing, none of which require Dashboard access), please open your own thread: https://www.ads-software.com/support/forum/how-to-and-troubleshooting#postform
I’m wondering if it could be theme compatibility like i saw suggested on another thread. Earlier i went into my ftp and renamed my theme but the default didnt take over. it just rendered a white page and i still wasn’t able to log in so i changed it back so at least my site was still up. Again any help is appreciated. I’ve tried to do my research and follow the recommendations on several threads before posting myself.
Thank you so much for your quick reply. I think that i have done everything except disabling plug ins. how do i do that from the ftp? I see that the original poster did it but no instructions as to how. Also as I stated above i renamed my current theme — i just added a 1 to it — but no new theme took over so i don’t know how to determine if that was the problem. If you could stay with me just a bit longer and maybe explain those two things?
- The topic ‘Can't Login After Automatic 4.0 Upgrade’ is closed to new replies.