[Resolved] Can't login into wp-admin – Undefined Function?!
I suddenly can’t login into wp-admin, this is the error message I get in the browser:
“Fatal error: Call to undefined function is_network_admin() in /customers/thewildpony.com/thewildpony.com/httpd.www/wp-admin/includes/menu.php on line 10”
I found the file – and this is the text (line 10-15):
if ( is_network_admin() )
elseif ( is_user_admin() )
Can you please help me and tell me what to do next? I’m so afraid to loose my 100 blogposts – and followers!
The error showed up after trying to update from 3.0.5. to 3.1. I didn’t make a backup until after the errormessage – but I hope it’s all saved anyway. It looks right at the domain it self – I just can’t login to do any updates.
I hope to get some help in here.
[I’m sorry to post this one in two diff. forums – didn’t know which one to choose]
Thank you for your advice, but I just tried it – and it doesn’t change anything. [The file that I uploaded is the same as I downloadet now that I wasn’t smart to do the backup in time :)].
Of course, but perhaps the file got corrupted during the upgrade. Another option is to download the WP pack anew, perhaps the file got corrupted during download/unzipping.
What did you do before this happens, nothing at all, upgrade, add a plugin or a theme. Don’t worry about the posts, they’re savely in the database, you just need to get WP working again.
I tried to do the automatic update from WordPress 3.0.5. to 3.1. I’ll try downloading the pack manually. It has nothing to do with the theme, right?
I expect not, but you can always try by activating Twentyten. Just rename the folder of the active theme using FTP or the file manager of your control panel and the theme will revert to Twentyten.
But like I said, I don’t expect it to be the theme.
Still no progress. 🙂
I tried to download und unpack 3.1 manually and I did reupload the menu.php-file with no luck. Line 10 in ‘the original’ and in ‘new file’ are identical. I thought it was a 3.1 problem, so I tried to find the same file in an older version i did store 3 months ago – but I couldn’t fint one.
To me it seems like I have to change something in those lines described, the words in between parenthethes are marked in red.
I just don’t know what to write to make the action work?
Again – thank you for trying to help!
Try the normal troubleshooting route. Change theme to Twentyten, disable all plugins, that sort of actions. You can do both these things by renaming the foldernames of your active theme and the plugins folder in general using FTP.
Just tried deactivating all plugins and renaming the theme to twentyten – it changed looks, but it did not help me to log in to the dashboard. Same error message, no changes.
I have deleted all nonactivated themes from the ftpserver too.
I’m thinking of reinstalling 3.0.5, but I don’t know how to do it? Would i be a good idea anyway?
Your upgrade did not complete successfully.
– switching to the Twenty Ten theme by renaming your current theme’s folder in wp-content/themes using FTP or whatever file management application your host provides. You may need to try logging into your site to get this to kick in fully.
– resetting the plugins folder by FTP or phpMyAdmin.
– re-uploading all files & folders – except the wp-content folder – from a fresh download of WordPress.
– re-running the upgrade manually using wp-admin/upgrade.php.
Wow – I’m back in the game! Thank you all for your help, I had to do a whole bunch of down- and uploads (and lots of cyberduck-problems: it doesn’t allow me to upload folders??), but I’m now able to log in!
I can see now that some chanches happened, the new admin-bar is added, but it still tells me in a notification that
“An automated WordPress update has failed to complete – please attempt the update again now.”
I feel a bit afraid to try again, but well. I guess that I have to.
Thanks again everybody!!
- The topic ‘[Resolved] Can't login into wp-admin – Undefined Function?!’ is closed to new replies.