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 type<>3 AND state=1 AND hide=0 ORDER BY RAND() LIMIT 0,3' at line 1
SELECT * FROM keke_video_course WHERE uid= AND type<>3 AND state=1 AND hide=0 ORDER BY RAND() LIMIT 0,3

PHP Debug

No.FileLineCode
1plugin.php47include(%s)
2source/plugin/keke_video_base/keke_video_base.inc.php208table_keke_video_course->fetch_all_course()
3source/plugin/keke_video_base/table/table_keke_video_course.php27discuz_database::fetch_all()
4source/class/discuz/discuz_database.php103discuz_database::query()
5source/class/discuz/discuz_database.php139db_driver_mysqli->query()
6source/class/db/db_driver_mysqli.php148db_driver_mysqli->halt()
7source/class/db/db_driver_mysqli.php223break()
video.kekebang.cn 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意.