Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '),0) AS real_pts,
COALESCE((SELECT COUNT(*) FROM game_results
...' at line 5 in /home/mv02x5jdca7m/public_html/games/api/_unlock_check.php:36
Stack trace:
#0 /home/mv02x5jdca7m/public_html/games/api/_unlock_check.php(36): mysqli->query()
#1 /home/mv02x5jdca7m/public_html/games/chest.php(25): check_game_access()
#2 {main}
thrown in /home/mv02x5jdca7m/public_html/games/api/_unlock_check.php on line 36