Fatal error: Uncaught exception 'Exception' with message '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 ')' at line 1 query: SELECT SUM(goods_price*goods_number) AS topic_total FROM `greenlife`.`cart` WHERE session_id = ? AND goods_id IN ()' in D:\AppServ\www\greenlife\includes\MysqliDb.php:1927
Stack trace:
#0 D:\AppServ\www\greenlife\includes\MysqliDb.php(1520): MysqliDb->_prepareQuery()
#1 D:\AppServ\www\greenlife\includes\MysqliDb.php(687): MysqliDb->_buildQuery(NULL)
#2 D:\AppServ\www\greenlife\topic.php(118): MysqliDb->get('`greenlife`.`ca...', NULL, 'SUM(goods_price...')
#3 {main}
thrown in D:\AppServ\www\greenlife\includes\MysqliDb.php on line 1927