[Plugin: LeagueManager] Can't add or edit matches, SQL error messages on every function
-
I’m getting very disturbing error messages in the League Manager after updating to the last release today. I’m unable to add new matches to tournaments that I added after the upgrade. When I try, I get this error message:
Warning: Invalid argument supplied for foreach() in /home/baba/public_html/wp-content/plugins/leaguemanager/admin/show-league.php on line 22
I also get two other error messages when adding games to tournaments that are already in the system before I upgraded.
Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /home/baba/public_html/wp-includes/wp-db.php on line 785
(which was repeated four times)and
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1] SELECT <code>custom</code> FROM wp_leaguemanager_matches WHERE <code>id</code> = Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /home/baba/public_html/wp-includes/wp-db.php on line 785 WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1] SELECT <code>custom</code> FROM wp_leaguemanager_matches WHERE <code>id</code> = Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /home/baba/public_html/wp-includes/wp-db.php on line 785 WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1] SELECT <code>custom</code> FROM wp_leaguemanager_matches WHERE <code>id</code> = Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /home/baba/public_html/wp-includes/wp-db.php on line 785 WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1] SELECT <code>custom</code> FROM wp_leaguemanager_matches WHERE <code>id</code> = Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /home/baba/public_html/wp-includes/wp-db.php on line 785
We are using Baseball, one-point rule, championship (because we have pool play and bracket play). It was working before this upgrade, although the format doesn’t really match our single-elimination bracket play.
Thanks!
Karen
- The topic ‘[Plugin: LeagueManager] Can't add or edit matches, SQL error messages on every function’ is closed to new replies.