:(

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/test/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 162

TRACE

#0 /www/wwwroot/test/ThinkPHP/Library/Think/Db/Driver.class.php(162): PDOStatement->execute()
#1 /www/wwwroot/test/ThinkPHP/Library/Think/Db/Driver.class.php(908): Think\Db\Driver->query('SELECT * FROM `...', false)
#2 /www/wwwroot/test/ThinkPHP/Library/Think/Model.class.php(761): Think\Db\Driver->select(Array)
#3 /www/wwwroot/test/Application/Media/Controller/MemberController.class.php(582): Think\Model->find()
#4 [internal function]: Media\Controller\MemberController->card()
#5 /www/wwwroot/test/ThinkPHP/Library/Think/App.class.php(156): ReflectionMethod->invoke(Object(Media\Controller\MemberController))
#6 /www/wwwroot/test/ThinkPHP/Library/Think/App.class.php(194): Think\App::exec()
#7 /www/wwwroot/test/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#8 /www/wwwroot/test/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#9 /www/wwwroot/test/index.php(39): require('/www/wwwroot/te...')
#10 {main}