Query failed! Tried to execute:
SELECT m.date , m.id as match_id,home.title as home_title, away.title as away_title,m.home_result,m.away_result
FROM matches m
LEFT JOIN teams_i18n home ON home.i18n_foreign_key = m.home_id AND home.i18n_locale='en-US'
LEFT JOIN teams_i18n away ON away.i18n_foreign_key = m.away_id AND away.i18n_locale='en-US'
WHERE m.id IN(,,,,,,,,)
ORDER BY date ASC
The SQL server said: 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 ',,,,,,,)
ORDER BY date ASC' at line 5.
The error occurred on line 71 of /home/infobett/public_html/core/db/MySqli.php
#0 SwebooException->report() called at [/home/infobett/public_html/core/db/MySqli.php:91] #1 DriverMySqli->query(SELECT m.date , m.id as match_id,home.title as home_title, away.title as away_title,m.home_result,m.away_result FROM matches m LEFT JOIN teams_i18n home ON home.i18n_foreign_key = m.home_id AND home.i18n_locale='en-US' LEFT JOIN teams_i18n away ON away.i18n_foreign_key = m.away_id AND away.i18n_locale='en-US' WHERE m.id IN(,,,,,,,,) ORDER BY date ASC ) called at [/home/infobett/public_html/apps/models/game.php:20] #2 Game->get_matches() called at [/home/infobett/public_html/apps/controllers/public/game_controller.php:24] #3 GameController->index(Array ([id] => ,[slug] => )) called at [/home/infobett/public_html/core/BaseController.php:605] #4 BaseController->process_route() called at [/home/infobett/public_html/public/bootstrap.php:37]