WordPress.org

Ready to get started?Download WordPress

Forums

Category Icons
warning after update to wp 3.5 (4 posts)

  1. fafa77
    Member
    Posted 1 year ago #

    Warning: Missing argument 2 for wpdb::prepare(), called in /home/username/public_html/wp-content/plugins/category-icons/category_icons.php on line 1361 and defined in /home/username/public_html/wp-includes/wp-db.php on line 990

    http://wordpress.org/extend/plugins/category-icons/

  2. jorgeorpinel
    Member
    Posted 1 year ago #

    The SQL queries are not property prepared in the current version. Update category_icons_php with this file I bug-fixed: https://docs.google.com/open?id=0B7JEImS_HANHVlRzNnJrb3E2QVU

  3. denbradshaw
    Member
    Posted 1 year ago #

    Above solution removes the warning... I must then re-select the icons for each category (OK, I can do that). Upon selecting the icons they show up on the page, but upon saving (clicking "Select Icons" at the bottom of the Select Category Icons page), they don't show up, and instead display broken links on the Select Category Icons page (broken links appear to point to
    "http://www.sitename.com/wp-content/uploads//"
    instead of
    "http://www.sitename.com/wp-content/uploads//image_name.jpg"
    Please advise...

  4. submarine
    Member
    Plugin Author

    Posted 1 year ago #

    Did you upgrade to WP 3.5.1 ?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.