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: C:\HwsHostMaster\wwwroot\yanchiedu2_ag6f2r\web\ThinkPHP\Library\Think\Db\Driver.class.php  LINE: 162

TRACE

#0 C:\HwsHostMaster\wwwroot\yanchiedu2_ag6f2r\web\ThinkPHP\Library\Think\Db\Driver.class.php(162): PDOStatement->execute()
#1 C:\HwsHostMaster\wwwroot\yanchiedu2_ag6f2r\web\ThinkPHP\Library\Think\Db\Driver.class.php(908): Think\Db\Driver->query('SELECT * FROM `...', false)
#2 C:\HwsHostMaster\wwwroot\yanchiedu2_ag6f2r\web\ThinkPHP\Library\Think\Model.class.php(761): Think\Db\Driver->select(Array)
#3 C:\HwsHostMaster\wwwroot\yanchiedu2_ag6f2r\web\Application\Home\Controller\UserController.class.php(345): Think\Model->find()
#4 C:\HwsHostMaster\wwwroot\yanchiedu2_ag6f2r\web\Application\Home\Controller\UserController.class.php(767): Home\Controller\UserController->getStuInfo(NULL)
#5 [internal function]: Home\Controller\UserController->forget_phone('', '', '', '')
#6 C:\HwsHostMaster\wwwroot\yanchiedu2_ag6f2r\web\ThinkPHP\Library\Think\App.class.php(154): ReflectionMethod->invokeArgs(Object(Home\Controller\UserController), Array)
#7 C:\HwsHostMaster\wwwroot\yanchiedu2_ag6f2r\web\ThinkPHP\Library\Think\App.class.php(194): Think\App::exec()
#8 C:\HwsHostMaster\wwwroot\yanchiedu2_ag6f2r\web\ThinkPHP\Library\Think\Think.class.php(120): Think\App::run()
#9 C:\HwsHostMaster\wwwroot\yanchiedu2_ag6f2r\web\ThinkPHP\ThinkPHP.php(97): Think\Think::start()
#10 C:\HwsHostMaster\wwwroot\yanchiedu2_ag6f2r\web\index.php(40): require('C:\\HwsHostMaste...')
#11 {main}