500 Internal Server Error

Database SQL: "SELECT * FROM `sp_cms_article` WHERE channel_id = and id >0 LIMIT 1". ErrorInfo: 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 'and id >0 LIMIT 1' at line 1 (500)

#0 /data/home/qxu1781000349/htdocs/framework/core/db/MysqlPdoDriver.php(24): framework\core\db\MysqlPdoDriver->query('SELECT * FROM `...', Array)
#1 /data/home/qxu1781000349/htdocs/framework/core/Model.php(137): framework\core\db\MysqlPdoDriver->select('`sp_cms_article...', Array, '*', '', ' LIMIT 1')
#2 /data/home/qxu1781000349/htdocs/framework/core/Model.php(106): framework\core\Model->select()
#3 /data/home/qxu1781000349/htdocs/application/index/model/IndexModel.php(27): framework\core\Model->find()
#4 /data/home/qxu1781000349/htdocs/application/index/controller/IndexController.php(55): application\index\model\IndexModel->selectUP(NULL, 0)
#5 [internal function]: application\index\controller\IndexController->reading('news-284', NULL, Object(framework\net\Route))
#6 /data/home/qxu1781000349/htdocs/framework/core/App.php(107): call_user_func_array(Array, Array)
#7 /data/home/qxu1781000349/htdocs/framework/core/Dispatcher.php(171): framework\core\App::framework\core\{closure}('news-284', NULL, Object(framework\net\Route))
#8 /data/home/qxu1781000349/htdocs/framework/core/Dispatcher.php(143): framework\core\Dispatcher::callFunction(Object(Closure), Array)
#9 /data/home/qxu1781000349/htdocs/framework/Engine.php(309): framework\core\Dispatcher::execute(Object(Closure), Array)
#10 /data/home/qxu1781000349/htdocs/framework/core/Dispatcher.php(196): framework\Engine->_start()
#11 /data/home/qxu1781000349/htdocs/framework/core/Dispatcher.php(142): framework\core\Dispatcher::invokeMethod(Array, Array)
#12 /data/home/qxu1781000349/htdocs/framework/core/Dispatcher.php(48): framework\core\Dispatcher::execute(Array, Array)
#13 /data/home/qxu1781000349/htdocs/framework/Engine.php(64): framework\core\Dispatcher->run('start', Array)
#14 /data/home/qxu1781000349/htdocs/framework/core/Dispatcher.php(196): framework\Engine->__call('start', Array)
#15 /data/home/qxu1781000349/htdocs/framework/Flight.php(37): framework\core\Dispatcher::invokeMethod(Array, Array)
#16 /data/home/qxu1781000349/htdocs/framework/Flight.php(29): framework\Flight::__callStatic('start', Array)
#17 /data/home/qxu1781000349/htdocs/index.php(7): framework\Flight::run()
#18 {main}