:(

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 ')' at line 1

错误位置

FILE: D:\phpStudy\WWW\ThinkPHP\Library\Think\Db\Driver.class.php  LINE: 217

TRACE

#0 D:\phpStudy\WWW\ThinkPHP\Library\Think\Db\Driver.class.php(217): PDOStatement->execute()
#1 D:\phpStudy\WWW\ThinkPHP\Library\Think\Db\Driver.class.php(895): Think\Db\Driver->execute('UPDATE `qqhr_ne...', false)
#2 D:\phpStudy\WWW\ThinkPHP\Library\Think\Model.class.php(451): Think\Db\Driver->update(Array, Array)
#3 D:\phpStudy\WWW\ThinkPHP\Library\Think\Model.class.php(841): Think\Model->save(Array)
#4 D:\phpStudy\WWW\ThinkPHP\Library\Think\Model.class.php(859): Think\Model->setField('hits', Array)
#5 D:\phpStudy\WWW\MyData\Home\Controller\IndexController.class.php(184): Think\Model->setInc('hits')
#6 D:\phpStudy\WWW\MyData\Home\Controller\IndexController.class.php(15): Home\Controller\IndexController->hits('')
#7 D:\phpStudy\WWW\ThinkPHP\Library\Think\Controller.class.php(165): Home\Controller\IndexController->_empty('view', '')
#8 [internal function]: Think\Controller->__call('view', '')
#9 D:\phpStudy\WWW\ThinkPHP\Library\Think\App.class.php(180): ReflectionMethod->invokeArgs(Object(Home\Controller\IndexController), Array)
#10 D:\phpStudy\WWW\ThinkPHP\Library\Think\App.class.php(202): Think\App::exec()
#11 D:\phpStudy\WWW\ThinkPHP\Library\Think\Think.class.php(120): Think\App::run()
#12 D:\phpStudy\WWW\ThinkPHP\ThinkPHP.php(97): Think\Think::start()
#13 D:\phpStudy\WWW\index.php(18): require('D:\\phpStudy\\WWW...')
#14 {main}