WordPress.org

Ready to get started?Download WordPress

Forums

Unknown column "comment_count" (2 posts)

  1. tomjkiehn
    Member
    Posted 8 years ago #

    My host had a massive server failure last week so I've switched to a new provider and am restoring my blog from a backup I made a while back...

    I installed the latest build of WordPress (2.0.2) and imported the tables in PHPmyAdmin. so far so good. The posts and comments all seem to be there. However, when I am in the admin section under Manage->Posts I get the following message in the column for comments:

    WordPress database error: [Unknown column 'comment_count' in 'field list']
    SELECT comment_count FROM wp2_posts WHERE ID = '526'

  2. Run /wp-admin/upgrade.php. Your posts table is outdated or something and missing the column that was introduced in WP2.0.

Topic Closed

This topic has been closed to new replies.

About this Topic