Fatal error: Uncaught exception 'Phalcon\Mvc\Model\Exception' with message 'Syntax error, unexpected token ), near to ' ORDER BY s.dates desc', when parsing: SELECT s.id, s.cat_id, k.name, s.active, s.img, k.slug, s.dates, s.date_update, s.dates, s.date_update, k.des, k.chucvu, k.soluong, k.info FROM [truongle\Frontend\Models\News] AS [s] JOIN [truongle\Frontend\Models\News_lang] AS [k] ON s.id = k.newsid WHERE k.lang = "vi-vn" and s.active = 0 and cat_id IN() ORDER BY s.dates desc (328)' in E:\xampp\htdocs\store\apps\frontend\models\news.php:88 Stack trace: #0 [internal function]: Phalcon\Mvc\Model\Query->parse() #1 E:\xampp\htdocs\store\apps\frontend\models\news.php(88): Phalcon\Mvc\Model\Query->execute() #2 E:\xampp\htdocs\store\apps\frontend\controllers\NewController.php(166): truongle\Frontend\Models\News::SelectByIdDSs('1', 0, 'cat_id IN()', NULL, 17) #3 [internal function]: truongle\Frontend\Controllers\NewController->danhsachAction('nong-nghiep-con...') #4 [internal function]: Phalcon\Dispatcher->callActionMethod( in E:\xampp\htdocs\store\apps\frontend\models\news.php on line 88