Forum Replies Created

Viewing 1 replies (of 1 total)
  • After upgrading to WordPress 3.5, I am getting the following Warning:

    Warning: Missing argument 2 for wpdb::prepare(), called in /home/*****/public_html/wp-content/themes/******/framework/plugins/post-types-order/post-types-order.php on line 173 and defined in /home/*****/public_html/wp-includes/wp-db.php on line 990

    Line 173 has the following code:

    $where = $wpdb->prepare(“WHERE p.post_date < ‘”.$current_post_date.”‘ AND p.post_type = ‘”. $post->post_type .”‘ AND p.post_status = ‘publish’ AND p.ID != ‘”. $post->ID .”‘ $posts_in_ex_cats_sql”);

    Please help.

    Thank you

Viewing 1 replies (of 1 total)