Warning: Invalid argument supplied for foreach() in /homepages/15/d179707241/htdocs/common/classes/MysqliDb.php on line 1395

Fatal error: Uncaught exception 'Exception' with message '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 query: SELECT * FROM cricket_batting WHERE runs >= ? AND matchid IN ( ) ' in /homepages/15/d179707241/htdocs/common/classes/MysqliDb.php:1498 Stack trace: #0 /homepages/15/d179707241/htdocs/common/classes/MysqliDb.php(1107): MysqliDb->_prepareQuery() #1 /homepages/15/d179707241/htdocs/common/classes/MysqliDb.php(558): MysqliDb->_buildQuery(NULL) #2 /homepages/15/d179707241/htdocs/cf-cc/top20.php(22): MysqliDb->get('batting') #3 /homepages/15/d179707241/htdocs/cf-cc/index.php(58): include_once('/homepages/15/d...') #4 {main} thrown in /homepages/15/d179707241/htdocs/common/classes/MysqliDb.php on line 1498