:(

SQLSTATE[42000]: Syntax error or access violation: 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 ') LIMIT 1' at line 1

错误位置

FILE: /usr/home/wh-aa5mxlm87lprxoiqrco/htdocs/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 323

TRACE

#0 /usr/home/wh-aa5mxlm87lprxoiqrco/htdocs/ThinkPHP/Library/Think/Db/Driver.class.php(323): PDOStatement->execute()
#1 /usr/home/wh-aa5mxlm87lprxoiqrco/htdocs/ThinkPHP/Library/Think/Db/Driver.class.php(1819): Think\Db\Driver->query('SELECT * FROM `...', false)
#2 /usr/home/wh-aa5mxlm87lprxoiqrco/htdocs/ThinkPHP/Library/Think/Model.class.php(1521): Think\Db\Driver->select(Array)
#3 /usr/home/wh-aa5mxlm87lprxoiqrco/htdocs/Core/Home/Controller/NewsController.class.php(104): Think\Model->find()
#4 [internal function]: Home\Controller\NewsController->detail()
#5 /usr/home/wh-aa5mxlm87lprxoiqrco/htdocs/ThinkPHP/Library/Think/App.class.php(311): ReflectionMethod->invoke(Object(Home\Controller\NewsController))
#6 /usr/home/wh-aa5mxlm87lprxoiqrco/htdocs/ThinkPHP/Library/Think/App.class.php(387): Think\App::exec()
#7 /usr/home/wh-aa5mxlm87lprxoiqrco/htdocs/ThinkPHP/Library/Think/Think.class.php(239): Think\App::run()
#8 /usr/home/wh-aa5mxlm87lprxoiqrco/htdocs/ThinkPHP/ThinkPHP.php(193): Think\Think::start()
#9 /usr/home/wh-aa5mxlm87lprxoiqrco/htdocs/index.php(65): require('/usr/home/wh-aa...')
#10 {main}