:(

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: /www/wwwroot/huiyelaw.com/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 484

TRACE

#0 /www/wwwroot/huiyelaw.com/ThinkPHP/Library/Think/Db/Driver.class.php(484): PDOStatement->execute()
#1 /www/wwwroot/huiyelaw.com/ThinkPHP/Library/Think/Db/Driver.class.php(2728): Think\Db\Driver->query()
#2 /www/wwwroot/huiyelaw.com/ThinkPHP/Library/Think/Model.class.php(2281): Think\Db\Driver->select()
#3 /www/wwwroot/huiyelaw.com/Core/Home/Controller/NewsController.class.php(141): Think\Model->find()
#4 [internal function]: Home\Controller\NewsController->detail()
#5 /www/wwwroot/huiyelaw.com/ThinkPHP/Library/Think/App.class.php(466): ReflectionMethod->invoke()
#6 /www/wwwroot/huiyelaw.com/ThinkPHP/Library/Think/App.class.php(580): Think\App::exec()
#7 /www/wwwroot/huiyelaw.com/ThinkPHP/Library/Think/Think.class.php(358): Think\App::run()
#8 /www/wwwroot/huiyelaw.com/ThinkPHP/ThinkPHP.php(385): Think\Think::start()
#9 /www/wwwroot/huiyelaw.com/index.php(41): require('/www/wwwroot/hu...')
#10 {main}