Ready to get started?Download WordPress


Category Icons Lite
[resolved] Missing argument 2 for wpdb::prepare(), called in caticons-lite.class.php (2 posts)

  1. techinferno
    Posted 2 years ago #

    Hi, my apache error log is filled with those messages :

    PHP Warning: Missing argument 2 for wpdb::prepare(), called in /.../wp-content/plugins/category-icons-lite/caticons-lite.class.php on line 231 and defined in /.../wp-includes/wp-db.php on line 990

    Using the latest 1.1.4 version.

    According to this http://make.wordpress.org/core/2012/12/12/php-warning-missing-argument-2-for-wpdb-prepare/ the fix is quite simple..

  2. ricardoweb
    Posted 1 year ago #

    It's is because de wpdb::prepare call action changed.
    So you just need to go to the line 231 and take the $wpdb->prepare() off.

    It should look like this:
    $results = $wpdb->get_results($query);

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.