{__NOLAYOUT__} 系统发生错误

:(

1064: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 ')' at line 2 [ SQL语句 ] : select `id`,`name` from rd_article where `id` =( select max(id) from `rd_article` where `status` = 1 and `id` < 541 and `cate_id` = )

错误位置

FILE: /www/wwwroot/hawkes.com.cn/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 350

TRACE

#0 /www/wwwroot/hawkes.com.cn/ThinkPHP/Library/Think/Db/Driver.class.php(350): E()
#1 /www/wwwroot/hawkes.com.cn/ThinkPHP/Library/Think/Db/Driver.class.php(180): Think\Db\Driver->error()
#2 /www/wwwroot/hawkes.com.cn/ThinkPHP/Library/Think/Model.class.php(1382): Think\Db\Driver->query()
#3 /www/wwwroot/hawkes.com.cn/App/Home/Controller/EmptyController.class.php(67): Think\Model->query()
#4 /www/wwwroot/hawkes.com.cn/App/Home/Controller/EmptyController.class.php(9): Home\Controller\EmptyController->details()
#5 [internal function]: Home\Controller\EmptyController->info()
#6 /www/wwwroot/hawkes.com.cn/ThinkPHP/Library/Think/App.class.php(173): ReflectionMethod->invoke()
#7 /www/wwwroot/hawkes.com.cn/ThinkPHP/Library/Think/App.class.php(110): Think\App::invokeAction()
#8 /www/wwwroot/hawkes.com.cn/ThinkPHP/Library/Think/App.class.php(204): Think\App::exec()
#9 /www/wwwroot/hawkes.com.cn/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#10 /www/wwwroot/hawkes.com.cn/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#11 /www/wwwroot/hawkes.com.cn/index.php(26): require('/www/wwwroot/ha...')
#12 {main}