Title: Link Categories Error
Last modified: August 18, 2016

---

# Link Categories Error

 *  [pakibaba](https://wordpress.org/support/users/pakibaba/)
 * (@pakibaba)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/link-categories-error/)
 * Hi all,
    I’m facing this link categories error, on my blog where link should 
   have to appear, following error show up.
 *     ```
       WordPress database error: [Unknown column 'link_count' in 'where clause']
       SELECT cat_id, cat_name FROM wp_categories WHERE link_count!='0'
       ```
   
 * I’ve tried to configure it from dashboard but I failed, tell me what to do and
   how to do.
    Thanks.

Viewing 1 replies (of 1 total)

 *  [klklaser](https://wordpress.org/support/users/klklaser/)
 * (@klklaser)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/link-categories-error/#post-531087)
 * It appears you’re missing ‘link_count’ in the database. I’m not sure the best
   way to fix this. Earlier today I upgraded a 2.0.5 blog to 2.1.1, and I noted 
   it required a database update.
 * Another thread here stated that 2.1.1 does some kind of manipulation on the category
   database, if I understood the post correctly.
 * Is this error from a plugin? You could try turning all plugins off.
 * There’s also a way to write a short database script that will create that column
   for you, presuming you can get into the database, but someone else will have 
   to volunteer the precise code IF it’s a good way to fix this error.

Viewing 1 replies (of 1 total)

The topic ‘Link Categories Error’ is closed to new replies.

## Tags

 * [not](https://wordpress.org/support/topic-tag/not/)
 * [Roll](https://wordpress.org/support/topic-tag/roll/)
 * [showing](https://wordpress.org/support/topic-tag/showing/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [klklaser](https://wordpress.org/support/users/klklaser/)
 * Last activity: [19 years, 3 months ago](https://wordpress.org/support/topic/link-categories-error/#post-531087)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
