Title: upgrading error
Last modified: August 18, 2016

---

# upgrading error

 *  [kc-korp](https://wordpress.org/support/users/kc-korp/)
 * (@kc-korp)
 * [19 years ago](https://wordpress.org/support/topic/upgrading-error/)
 * Hi please help me, I was using my wordpress 2.0.4 and I tried to upgrade it to
   2.2 with my cpanel in Fantastico, I did the autoinstallation and now I have this
   2 errors
    —————————————————————
 * Fatal error: Cannot use string offset as an array in /home/kckorp/public_html/
   naruto-ninja/wp-includes/widgets.php on line 495
    ————————————————————- WordPress
   database error: [Unknown column ‘link_count’ in ‘where clause’] SELECT cat_ID
   FROM wp_categories WHERE category_parent = 0 AND ( link_count = 0 OR category_count!
   = 0 OR ( link_count = 0 AND category_count = 0 ) ) ORDER BY category_count DESC
 * Please help me could you tell me what should I do, I’m very sad and scary ^^*
   do you think this could be fixed? T.T
 * Thank you ToT

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

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [19 years ago](https://wordpress.org/support/topic/upgrading-error/#post-575106)
 * Try disabling plugins, in particular the SideBar Widget plugin if you have that.
 * Widgets are native to 2.2 so delete all files related to the widget plugin.
 *  [jologe](https://wordpress.org/support/users/jologe/)
 * (@jologe)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/upgrading-error/#post-575576)
 * Hi..
    I have the same problem, well only the first error above,
 * Fatal error: Cannot use string offset as an array in …/wp-includes/widgets.php
   on line 495
 * But I don´t use any widgets on my page, anyway, I delete all the plugins, and
   upgrade again, and show the same error..
 * How I can fix this?
 * if somebody can help me, I would like to thank you in advance

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

The topic ‘upgrading error’ is closed to new replies.

## Tags

 * [to](https://wordpress.org/support/topic-tag/to/)
 * [upgrading](https://wordpress.org/support/topic-tag/upgrading/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 2 replies
 * 3 participants
 * Last reply from: [jologe](https://wordpress.org/support/users/jologe/)
 * Last activity: [18 years, 10 months ago](https://wordpress.org/support/topic/upgrading-error/#post-575576)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
