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 ') group by uid' at line 1
select uid,sum(number) as 'sendnum' from plugin_viewui_gift_send where uid in () group by uid

PHP Debug

No.FileLineCode
1forum.php67require(%s)
2source/module/forum/forum_viewthread.php179showmessage(%s, %s, Array, Array)
3source/function/function_core.php1425dshowmessage(%s, %s, Array, Array, %d)
4source/function/function_message.php237include(%s)
5data/template/2_2_common_showmessage.tpl.php1hookscriptoutput(%s)
6source/function/function_core.php1222hookscript(%s, %s, %s, Array)
7source/function/function_core.php1181plugin_viewui_gift_forum->viewthread_sidetop_output(Array)
8source/plugin/viewui_gift/hook.class.php108table_viewui_gift_send->get_user_about(%s, %s)
9source/plugin/viewui_gift/table/table_viewui_gift_send.php152discuz_database::fetch_all(%s, Array)
10source/class/discuz/discuz_database.php106discuz_database::query(%s, Array, false, false)
11source/class/discuz/discuz_database.php142db_driver_mysqli->query(%s, false, false)
12source/class/db/db_driver_mysqli.php148db_driver_mysqli->halt(%s, %d, %s)
13source/class/db/db_driver_mysqli.php223break()
rm.rgss.cn:50505 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意.