Database Error

SQLSTATE[42000]: Syntax error or access violation: 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 ') ) order by article.update_time desc limit ?,?' at line 1

sql相关:

SQL: SELECT article.*,nav.title as nav from article LEFT join nav on article.nid=nav.id where ( nid in (1,4,5,2,3,8,10,) ) order by article.update_time desc limit ?,?
parameters: [0,20]

PHP Debug

No.FileLineCode
1/www/wwwroot/wantchinagreatagain.com/public/list.php3ly\LY->execute()
2/www/wwwroot/wantchinagreatagain.com/ly/LY.php231call_user_func_array()
3/www/wwwroot/wantchinagreatagain.com/application/index/controller/Index.php101ly\lib\DB->select()
4/www/wwwroot/wantchinagreatagain.com/ly/lib/DB.php778ly\lib\PDO->query()
5/www/wwwroot/wantchinagreatagain.com/ly/lib/PDO.php224ly\lib\PDO->init()
6/www/wwwroot/wantchinagreatagain.com/ly/lib/PDO.php160PDO->prepare()
7/www/wwwroot/wantchinagreatagain.com/ly/lib/PDO.php160break()