Support » Plugin: PHPLeague » Warning Missing argument 2 for wpdb::prepare() in the widget

  • Hello,

    I’m trying several plugins to easily manage a local basketball team, I like PHPLeague but I’m getting a lot of notices and warnings.
    I’m using WP 3.7.1 on a shared hosting with multisite (directories, not domains).

    In the widget I see this:
    “Warning: Missing argument 2 for wpdb::prepare(), called in /home/xxx/domains/xxx/public_html/wp-content/plugins/phpleague/inc/widgets/ranking.php on line 105 and defined in /home/xxx/domains/xxx/wp-includes/wp-db.php on line 992

    Notice: Undefined index: league_id in /home/xxx/domains/xxx/public_html/wp-content/plugins/phpleague/inc/widgets/ranking.php on line 119″

    What are these errors?
    Thank you for your help.

    http://wordpress.org/plugins/phpleague/

  • The topic ‘Warning Missing argument 2 for wpdb::prepare() in the widget’ is closed to new replies.