• My site was working fine until I made the mistake of updating WordPress. The site (https://davesink.com) looks pretty much the same with the exception of the ‘Latest posts’ plugin not showing up above the archived posts on the homepage as it did before. Also there’s a huge gap between the title and post content.
    Now I can’t log in to my site. Instead I get this error message:

    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 1210

    Warning: Cannot modify header information – headers already sent by (output started at /home/53/32/3003253/web/wp-includes/wp-db.php:1210) in /home/53/32/3003253/web/wp-includes/pluggable.php on line 1207

    I backed up the database and content, but do I need to trash the WP install and go back to an earlier version? I’m not a coder, so if any help can be framed so it would be understandable to a second grader, it would be much appreciated. ??

    Thanks for any and all help.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Bill

    (@chubbycrow)

    I don’t see either of the problems you described (latest posts, gap) using Firefox. Also the login page comes up fine but of course I can’t test beyond that.

    Are you still having a problem?

    Thread Starter davesink

    (@davesink)

    Thanks, Bill. Yes, it does seem to be back where it was. I downgraded to an oooold version of WP that works with my site (3.3.2) via FTP. I tried removing the recent posts plugin that I THOUGHT was the culprit, but it still gave the same error & wouldn’t let me log in. Sooner or later, I’ll need to redo the whole site and then I’ll upgrade WP. Thanks for your help!

    Davesink,

    How were you able to log in and downgrade your site?

    I would very much like to do so myself.

    Thread Starter davesink

    (@davesink)

    Hi Davenotti,
    I just followed this turorial: https://m.youtube.com/watch?v=Lz-Q9H0iIhc . As long as you can connect to your host server via FTP, it’s pretty quick & easy.

    Bill

    (@chubbycrow)

    Actually you might try disabling the category icons plugin, which was the one throwing the warning, and try the upgrade again. Now that you know how to get your site back up if needed, it’s worth a try.

    I would disable all plugins, upgrade, and then re-activate plugins one by one with category icons last (or not at all). If it breaks, go back in via ftp and rename the folder of the plugin that broke things to disable it (in wp-contents/plugins/).

    Thread Starter davesink

    (@davesink)

    Great suggestion, Bill. I’ll give it a shot. You’re right, downgrading again as a plan B is easy. Thanks for all your help!

    Bill

    (@chubbycrow)

    You’re welcome!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Login error after upgrading WP’ is closed to new replies.