When this happens it’s usually the result of corrupted file transfers. Do this:
1. Login to WP and disable all your plugins (or just temporarily rename the plugins folder so WP cannot find it and thinks there are no plugins, which is what we want it to think).
2. Delete the following two folders:
/wp-includes
/wp-admin
3. In your WP root, delete all files with a *.php extension EXCEPT WP-CONFIG.PHP. If you are upgrading WP needs that file.
4. Also, in your WP root, DO NOT DELETE the .htaccess file.
5. Now upload the latest WP from your hard drive.
6. Type your path to WP along with /wp-admin/upgrade.php
For example, if your WP site is at:
http://www.mycooldomain.com/blog/
You would type: http://www.mycooldomain.com/blog/wp-admin/upgrade.php
You should now be upgraded. 🙂
Believe me I used to try the “fast and dirty” way, but because I would get those such error messages, I finally learned to go ahead and delete the files off the server entirely and that way I knew I had good copies of the latest install files being uploaded.
Hi Joni – OK – I did what you said which at least got my blog up and running again.
The error messages below have not gone away – they are at the top of my blog. I’ve tried deleting and uploading new downloads of these files several times and don’t know how to fix them.
Here they are:
Notice: Undefined index: cat in /homepages/21/d116687626/htdocs/wp-includes/query.php on line 522
Notice: Undefined property: args in /homepages/21/d116687626/htdocs/wp-includes/taxonomy.php on line 1061
Notice: Undefined property: args in /homepages/21/d116687626/htdocs/wp-includes/taxonomy.php on line 1061
Notice: Undefined index: path in /homepages/21/d116687626/htdocs/wp-includes/canonical.php on line 174
Notice: Undefined index: port in /homepages/21/d116687626/htdocs/wp-includes/canonical.php on line 181
Notice: Undefined index: query in /homepages/21/d116687626/htdocs/wp-includes/canonical.php on line 181
Notice: Undefined index: port in /homepages/21/d116687626/htdocs/wp-includes/canonical.php on line 181
Notice: Undefined index: query in /homepages/21/d116687626/htdocs/wp-includes/canonical.php on line 181
There are also other error messages in my admin panel in the comment section and at the top…any advice would be so wonderful. Thank you so much for your help already.
Thanks,
Danielle