WordPress.org

Ready to get started?Download WordPress

Forums

Unconfirmed
Error with WP 3.5 (3 posts)

  1. Matt
    Member
    Posted 1 year ago #

    Noticed an error now that I have upgraded to WP 3.5. This appears twice at the top of the Unconfirmed page in the backend:

    Warning: Missing argument 2 for wpdb::prepare(), called in /.../.../public_html/wp-content/plugins/unconfirmed/unconfirmed.php on line 257 and defined in /.../.../public_html/wp-includes/wp-db.php on line 990

    This might help the dev:
    http://make.wordpress.org/core/2012/12/12/php-warning-missing-argument-2-for-wpdb-prepare/

    http://wordpress.org/extend/plugins/unconfirmed/

  2. danbp
    Member
    Posted 1 year ago #

    Hi,
    have the same problem on line 554 with WP 3.5, BP MS 1.6.2, unconfirmed 1.2.1

    Solved by changing the line by this:
    $registrations = $wpdb->get_results( $wpdb->prepare( "SELECT user_email, activation_key FROM $wpdb->signups WHERE activation_key IN ({$activation_keys})", $activation_keys) );

  3. Dylan Barlett
    Member
    Posted 1 year ago #

    This is fixed in Unconfirmed 1.2.3.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.