Title: WordPress database error &#8211; can&#8217;t add categories
Last modified: August 18, 2016

---

# WordPress database error – can’t add categories

 *  Resolved [delete](https://wordpress.org/support/users/moonbatwingnut/)
 * (@moonbatwingnut)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/wordpress-database-error-cant-add-categories/)
 * Hello,
 * I updated to 2.2 and I’m using the Redoable 1.2 theme. When updating I downloaded
   the files from WordPress, then uploaded them to the FTP site and set write-over
   to ‘all’.
 * I imported an OPML file for a list of links from Firefox which did work at my
   blog at WordPress.com, and while it did import them, each one came with this 
   error message (the link count goes up with each one):
 * > WordPress database error: [Unknown column ‘link_count’ in ‘field list’]
   >  UPDATE
   > wp_categories SET link_count = ’85’ WHERE cat_ID = ‘1’
 * When I try to add new categories, it won’t do it and I get this:
 * > WordPress database error: [Unknown column ‘links_private’ in ‘field list’]
   > 
   > INSERT INTO wp_categories (cat_ID, cat_name, category_nicename, category_description,
   > category_parent, links_private, posts_private) VALUES (‘0’, ‘tradtional media’,‘
   > tradtional-media’, ”, ‘0’, ‘0’, ‘0’)
 * When I add the ‘Links’ widget, it doesn’t show anything except this error message
   in the sidebar:
 * > WordPress database error: [Unknown column ‘link_count’ in ‘where clause’]
   >  
   > SELECT * FROM wp_categories WHERE cat_ID > 0 AND link_count > 0 ORDER BY cat_name
   > ASC
 * How can I fix this?
 * Thanks,

Viewing 1 replies (of 1 total)

 *  Thread Starter [delete](https://wordpress.org/support/users/moonbatwingnut/)
 * (@moonbatwingnut)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/wordpress-database-error-cant-add-categories/#post-611044)
 * Urgh, Redoable isn’t caught up to WP 2.2 yet.

Viewing 1 replies (of 1 total)

The topic ‘WordPress database error – can’t add categories’ is closed to new replies.

## Tags

 * [Database Error](https://wordpress.org/support/topic-tag/database-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [delete](https://wordpress.org/support/users/moonbatwingnut/)
 * Last activity: [18 years, 9 months ago](https://wordpress.org/support/topic/wordpress-database-error-cant-add-categories/#post-611044)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
