Title: Problem upgrading. Can&#039;t log in.
Last modified: August 31, 2016

---

# Problem upgrading. Can't log in.

 *  Resolved [davesink](https://wordpress.org/support/users/davesink/)
 * (@davesink)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/problem-upgrading-cant-log-in/)
 * I just tried upgrading my old WP site ([http://davesink.com](http://davesink.com))
   and when I did, I get this message when trying to log in:
 * Warning: Missing argument 2 for wpdb::prepare(), called in /home/53/32/3003253/
   web/wp-content/plugins/category-icons/category_icons.php on line 1047 and defined
   in /home/53/32/3003253/web/wp-includes/wp-db.php on line 1246
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/53/32/3003253/web/wp-includes/wp-db.php:1246) in /home/53/32/3003253/
   web/wp-includes/pluggable.php on line 1171
 * I have a backup of the site from before the upgrade, but I’d like to be able 
   to upgrade at some point.
    Any ideas what this message means and how I can fix
   it? Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [ProjectArmy](https://wordpress.org/support/users/supporthero/)
 * (@supporthero)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/problem-upgrading-cant-log-in/#post-7419674)
 * Have you tried disabling the category-icons plugin? I think that’s what causes
   the error.
 *  [staartmees](https://wordpress.org/support/users/staartmees/)
 * (@staartmees)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/problem-upgrading-cant-log-in/#post-7419675)
 * Problem is the plugin Category icons. Access the filesystem of your website, 
   navigate to Plugins and rename category-icons to something else e.g.xx-category-
   icons
 *  Thread Starter [davesink](https://wordpress.org/support/users/davesink/)
 * (@davesink)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/problem-upgrading-cant-log-in/#post-7419677)
 * Thanks for the quick responses, Bryan and staartmees. I’ll give it a try and 
   report back.
    Also, every post has a huge amount of space before the content.
   We’ll see if the Category icons plugin is responsible for that as well.
 *  Thread Starter [davesink](https://wordpress.org/support/users/davesink/)
 * (@davesink)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/problem-upgrading-cant-log-in/#post-7419686)
 * Perfecto! That did it.
    Thanks to both of you!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Problem upgrading. Can't log in.’ is closed to new replies.

## Tags

 * [error message](https://wordpress.org/support/topic-tag/error-message/)
 * [log-in](https://wordpress.org/support/topic-tag/log-in/)
 * [upgrade](https://wordpress.org/support/topic-tag/upgrade/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [davesink](https://wordpress.org/support/users/davesink/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/problem-upgrading-cant-log-in/#post-7419686)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
