Discuz! Database Error

(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 'AND status!=1 ORDER BY add_time DESC LIMIT 0,15' at line 1
SELECT * FROM tom_weixin_vote_item WHERE 1 AND vote_id= AND status!=1 ORDER BY add_time DESC LIMIT 0,15

PHP Debug

No.FileLineCode
1plugin.php47include(%s)
2source/plugin/tom_weixin_vote/pc.inc.php25include(%s)
3source/plugin/tom_weixin_vote/pc/index.inc.php33table_tom_weixin_vote_item->fetch_all_list(%s, %s, %d, %d)
4source/plugin/tom_weixin_vote/table/table_tom_weixin_vote_item.php27discuz_database::fetch_all(%s, Array)
5source/class/discuz/discuz_database.php101discuz_database::query(%s, Array, false, false)
6source/class/discuz/discuz_database.php137db_driver_mysql->query(%s, false, false)
7source/class/db/db_driver_mysql.php152db_driver_mysql->halt(%s, %d, %s)
8source/class/db/db_driver_mysql.php223break()
m.dabaise.com 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意.