VITCIE info: MySQL Query Error

Time: 2018-7-23 4:31am
Script: /viewdoc.php

SQL: update vte_documents set viewtimes=viewtimes+1 where id=
Error: 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
Errno.: 1064

An error report has been dispatched to our administrator.