Database Error

SQLSTATE[HY000]: General error: 1210 Incorrect arguments to mysqld_stmt_execute

sql相关:

SQL: SELECT lycms_article.*,lycms_nav.title as nav from lycms_article LEFT join `lycms_art_nav` on lycms_article.id=lycms_art_nav.artid LEFT join `lycms_nav` on lycms_art_nav.navid=lycms_nav.id where ( lycms_art_nav.navid in (11) ) order by lycms_article.id asc limit ?,?
parameters: [-20,20]

PHP Debug

No.FileLineCode
1/www/wwwroot/hebeijiahe.com/public/products.php3ly\LY->execute()
2/www/wwwroot/hebeijiahe.com/ly/LY.php431call_user_func_array()
3/www/wwwroot/hebeijiahe.com/application/index/controller/Index.php128ly\lib\DB->select()
4/www/wwwroot/hebeijiahe.com/ly/lib/DB.php1107ly\lib\PDO->query()
5/www/wwwroot/hebeijiahe.com/ly/lib/PDO.php268ly\lib\PDO->init()
6/www/wwwroot/hebeijiahe.com/ly/lib/PDO.php184PDOStatement->execute()
7/www/wwwroot/hebeijiahe.com/ly/lib/PDO.php184break()