系统发生错误

:(

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 [ SQL语句 ] : UPDATE `ot_document` SET `view`=view+1 WHERE ( id = )

错误位置

FILE: /usr/home/qxu2058720311/htdocs/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 385

TRACE

#0 /usr/home/qxu2058720311/htdocs/ThinkPHP/Library/Think/Db/Driver.class.php(385): E('1064:You have a...')
#1 /usr/home/qxu2058720311/htdocs/ThinkPHP/Library/Think/Db/Driver.class.php(260): Think\Db\Driver->error()
#2 /usr/home/qxu2058720311/htdocs/ThinkPHP/Library/Think/Db/Driver.class.php(1014): Think\Db\Driver->execute('UPDATE `ot_docu...', false)
#3 /usr/home/qxu2058720311/htdocs/ThinkPHP/Library/Think/Model.class.php(479): Think\Db\Driver->update(Array, Array)
#4 /usr/home/qxu2058720311/htdocs/ThinkPHP/Library/Think/Model.class.php(904): Think\Model->save(Array)
#5 /usr/home/qxu2058720311/htdocs/ThinkPHP/Library/Think/Model.class.php(928): Think\Model->setField('view', Array)
#6 /usr/home/qxu2058720311/htdocs/Application/Home/Common/function.php(249): Think\Model->setInc('view', 1)
#7 /usr/home/qxu2058720311/htdocs/Application/Home/Controller/ContactController.class.php(75): get_one_info('', NULL)
#8 [internal function]: Home\Controller\ContactController->index()
#9 /usr/home/qxu2058720311/htdocs/ThinkPHP/Library/Think/App.class.php(178): ReflectionMethod->invoke(Object(Home\Controller\ContactController))
#10 /usr/home/qxu2058720311/htdocs/ThinkPHP/Library/Think/App.class.php(113): Think\App::invokeAction(Object(Home\Controller\ContactController), 'index')
#11 /usr/home/qxu2058720311/htdocs/ThinkPHP/Library/Think/App.class.php(213): Think\App::exec()
#12 /usr/home/qxu2058720311/htdocs/ThinkPHP/Library/Think/Think.class.php(135): Think\App::run()
#13 /usr/home/qxu2058720311/htdocs/ThinkPHP/ThinkPHP.php(100): Think\Think::start()
#14 /usr/home/qxu2058720311/htdocs/index.php(39): require('/usr/home/qxu20...')
#15 {main}