Fatal error: Uncaught Exception: There was an internal pg_query error: ERROR: syntax error at or near ")" LINE 33: WHERE m.id IN () ^ in /code/php/sql.php:402 Stack trace: #0 /code/php/sql.php(256): sql->query('/* \nclass: CupU...', '', false, true, NULL, true) #1 /code/php/lib/CupUtil.class.php(985): sql->queryWithException('\n SE...') #2 /code/php/lib/CupUtil.class.php(1246): CupUtil->getRoundInformationByMatchIds(Array, true) #3 /code/php/match.php(848): CupUtil->buildCupRoundsNames(Array) #4 /code/php/baseclass.php(734): match->doxml(Object(DOMElement)) #5 /code/php/espl.php(701): baseclass->render(Object(DOMElement)) #6 /code/php/espl.php(319): espl->doClass(Object(match)) #7 /code/php/lib/core/app/LegacyBridgeAppContext.class.php(90): espl->main(false, true) #8 /code/php/lib/core/app/EsplAppContext.class.php(445): LegacyBridgeAppContext->getHtml() #9 /code/php/lib/core/app/BaseAppContext.class.php(108): EsplAppContext->doRender() #10 /code/apps/private/legacy_bridge/dispatch/index.php(137): BaseAppContext->render() #11 {main} thrown in /code/php/sql.php on line 402