WordPress.org

Forums

PHPLeague
Warning Missing argument 2 for wpdb::prepare() in the widget (1 post)

  1. webby1973
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • PHPLeague
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic