,
Query failed! 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

Backtrace:
Array ( [0] => Array ( [file] => /home/chessman/public_html/webchess/includes/classes/Database.class.inc [line] => 140 [function] => read_query [class] => Database [object] => Database Object ( [queries:protected] => Array ( ) [read_count:protected] => 6 [write_count:protected] => 1 ) [type] => -> [args] => Array ( [0] => SELECT rating FROM players WHERE playerID = [1] => [2] => 15 [3] => ) ) [1] => Array ( [file] => /home/chessman/public_html/webchess/includes/classes/Database.class.inc [line] => 78 [function] => read_query [class] => Database [object] => Database Object ( [queries:protected] => Array ( ) [read_count:protected] => 6 [write_count:protected] => 1 ) [type] => -> [args] => Array ( [0] => SELECT rating FROM players WHERE playerID = [1] => 1 [2] => 15 [3] => ) ) [2] => Array ( [file] => /home/chessman/public_html/webchess/includes/chat.inc.php [line] => 331 [function] => query [class] => Database [object] => Database Object ( [queries:protected] => Array ( ) [read_count:protected] => 6 [write_count:protected] => 1 ) [type] => -> [args] => Array ( [0] => SELECT rating FROM players WHERE playerID = [1] => 1 ) ) [3] => Array ( [file] => /home/chessman/public_html/webchess/messages.php [line] => 471 [args] => Array ( [0] => /home/chessman/public_html/webchess/includes/chat.inc.php ) [function] => require_once ) )