WordPress.org

Ready to get started?Download WordPress

Forums

uCan Post
Warning: Missing argument 2 for wpdb::prepare() (1 post)

  1. TheCrazyBastard
    Member
    Posted 1 year ago #

    I need a help after upgrade wordpress to 3.5 version with uCan Post plugin.

    In settings menu the bug is: Warning: Missing argument 2 for wpdb::prepare(), called in /home/xxx/xxx/wp-content/plugins/ucan-post/ucan-post-class.php on line 564 and defined in /home/xxx/xxx/wp-includes/wp-db.php on line 990

    In materials/posts menu the bug is: Warning: Missing argument 2 for wpdb::prepare(), called in /home/xxx/xxx/wp-content/plugins/ucan-post/ucan-post-class.php on line 420 and defined in /home/xxx/xxx/wp-includes/wp-db.php on line 990

    ucan-post-class.php on line 564 is: return $wpdb->get_results($wpdb->prepare("SELECT user_login, ID FROM {$wpdb->users} ORDER BY user_login ASC"));

    ucan-post-class.php on line 420 is: return $wpdb->get_results($wpdb->prepare("SELECT * FROM {$this->ucan_db_submissions} ORDER BY id DESC"));

    wp-db.php on line 990 is: function prepare( $query, $args ) {

    http://wordpress.org/extend/plugins/ucan-post/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.