• Resolved THEGrizz

    (@thegrizz)


    I upgraded to from 3.4.2 to 3.5 yesterday and now I’m getting these errors when new members register for my site ?? Anyone willing to help???

    Warning: Missing argument 2 for wpdb::prepare(), called in /home/content/03/10010703/html/pcvdo/wp-content/plugins/membership/membershipincludes/classes/membershipadmin.php on line 4898 and defined in /home/content/03/10010703/html/pcvdo/wp-includes/wp-db.php on line 990

    Warning: Missing argument 2 for wpdb::prepare(), called in /home/content/03/10010703/html/pcvdo/wp-content/plugins/membership/membershipincludes/classes/membershipadmin.php on line 4904 and defined in /home/content/03/10010703/html/pcvdo/wp-includes/wp-db.php on line 990

    Warning: Missing argument 2 for wpdb::prepare(), called in /home/content/03/10010703/html/pcvdo/wp-content/plugins/membership/membershipincludes/classes/membershipadmin.php on line 4855 and defined in /home/content/03/10010703/html/pcvdo/wp-includes/wp-db.php on line 990

    Warning: Missing argument 2 for wpdb::prepare(), called in /home/content/03/10010703/html/pcvdo/wp-content/plugins/membership/membershipincludes/classes/membershipadmin.php on line 4791 and defined in /home/content/03/10010703/html/pcvdo/wp-includes/wp-db.php on line 990

Viewing 4 replies - 16 through 19 (of 19 total)
  • @mikepoynton After update wordpress to 3.5 >> error Missing argument 2 for wpdb::prepare(), … I can not fix the code, but I updated the plugin named “Post Types Order”, the error disappeared

    Am also experiencing the same thing when i upgrade my buddyress to 1.6.3 and install bp gifts rebirth plugin and bp chat beta 3,4,5 plugin

    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

    @loveiphone and ogunkunle anyone else who needs help – please start your own threads – this one is marked resolved (and is now closed) so it is not a good place to get help.

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Missing argument 2 for wpdb::prepare(),’ is closed to new replies.