WordPress.org

Ready to get started?Download WordPress

Forums

Zendesk for WordPress
Warning: Missing argument 2 for wpdb::prepare() (4 posts)

  1. Fabian
    Member
    Posted 11 months ago #

    Hi,

    under Settings / Anonymous Requests By I get the following warning:

    Warning: Missing argument 2 for wpdb::prepare(), called in wp-content/plugins/zendesk/zendesk-support.php on line 2127 and defined in wp-includes/wp-db.php on line 992

    The prepare call is unnecessary in this line:

    $users = $wpdb->get_col( $wpdb->prepare( "SELECT $wpdb->users.ID FROM $wpdb->users" ) );

    Should be:

    $users = $wpdb->get_col( "SELECT $wpdb->users.ID FROM $wpdb->users" );

    http://wordpress.org/plugins/zendesk/

  2. Pam Blizzard
    Member
    Posted 8 months ago #

    I'm getting this same error- does this truly affect anything?

  3. esmi
    Forum Moderator
    Posted 8 months ago #

    @Pam Blizzard: If you require assistance then, as per the Forum Welcome, please post your own topic.

  4. Pam Blizzard
    Member
    Posted 8 months ago #

    oy...ok

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.