A Database Error Occurred

Error Number: 1064

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 ') AND `god`.`type` = 'player' ) ORDER BY `cm_games`.`start_time` ASC' at line 7

SELECT `cm_games`.`game_id`, `cm_games`.`tournament_id`, `cm_games`.`stage_id`, `cm_games`.`world`, `cm_games`.`start_time`, `cm_games`.`end_time`, `ts`.`name` as `stage_name` FROM `cm_games` LEFT JOIN `cm_tournaments_stages` as `ts` ON `ts`.`stage_id` = `cm_games`.`stage_id` LEFT JOIN `cm_games_other_data` as `god` ON `god`.`game_id` = `cm_games`.`game_id` WHERE `cm_games`.`season_id` = 12 AND ( god.value IN() AND `god`.`type` = 'player' ) ORDER BY `cm_games`.`start_time` ASC

Filename: modules/games/models/games_model.php

Line Number: 798