Title: Error
Last modified: August 20, 2016

---

# Error

 *  Resolved [pivovody](https://wordpress.org/support/users/pivovody/)
 * (@pivovody)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-100/)
 * When activated, the plugin provides Warning: Missing argument 2 for wpdb::prepare(),
   called in /home/public_html/wp-content/plugins/category-icons/category_icons.
   php on line 1047 and defined in /home/public_html/wp-includes/wp-db.php on line
   990
 * How to solve?
 * [http://wordpress.org/extend/plugins/category-icons/](http://wordpress.org/extend/plugins/category-icons/)

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

 *  Thread Starter [pivovody](https://wordpress.org/support/users/pivovody/)
 * (@pivovody)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-100/#post-3265966)
 * While found a temporary solution – replaced the file wp-db.php new version 3.5
   of the file wp-db.php old version of wordpress. It worked perfectly
 *  [jorgeorpinel](https://wordpress.org/support/users/jorgeorpinel/)
 * (@jorgeorpinel)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-100/#post-3266061)
 * I have a better solution:
 * Refer to my post in the [http://wordpress.org/support/topic/warning-after-update-to-wp-35?replies=2#post-3575118](http://wordpress.org/support/topic/warning-after-update-to-wp-35?replies=2#post-3575118)(
   right after the one linked in the previous url) to fix this.
 *  Thread Starter [pivovody](https://wordpress.org/support/users/pivovody/)
 * (@pivovody)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-100/#post-3266092)
 * Lost all the icons from the main page and in the following categories
 *  Plugin Author [TheSubmarine](https://wordpress.org/support/users/submarine/)
 * (@submarine)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/error-100/#post-3266168)
 * With the jorgeorpinel’s fix, it should be working. What if you put back the original
   wp-db.php file ?
 * [Try the 2.2.6 version](http://downloads.wordpress.org/plugin/category-icons.2.2.6.zip)?
 *  Plugin Author [TheSubmarine](https://wordpress.org/support/users/submarine/)
 * (@submarine)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/error-100/#post-3266169)
 * The issue seems to be resolved with WP 3.5.1.

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

The topic ‘Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/category-icons_a5a28b.svg)
 * [Category Icons](https://wordpress.org/plugins/category-icons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/category-icons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/category-icons/)
 * [Active Topics](https://wordpress.org/support/plugin/category-icons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/category-icons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/category-icons/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [TheSubmarine](https://wordpress.org/support/users/submarine/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/error-100/#post-3266169)
 * Status: resolved