Discuz! Database Error

(1054) Unknown column 'pid' in 'where clause'
SELECT * FROM forum_attachment_unused WHERE `pid`='' AND isimage IN ('1', '-1') AND width>=10

PHP Debug

No.FileLineCode
1forum.php72require(%s)
2source/module/forum/forum_forumdisplay.php972include(%s)
3data/template/3_diy_forum_forumdisplay.tpl.php1145include(%s)
4template/xlmm_zx/php/forum_forumdisplay.php21table_forum_attachment_n->fetch_all_by_pid_width(%s, %s, %d)
5source/class/table/table_forum_attachment_n.php136discuz_database::fetch_all(%s, Array)
6source/class/discuz/discuz_database.php101discuz_database::query(%s, Array, false, false)
7source/class/discuz/discuz_database.php137db_driver_mysql->query(%s, false, false)
8source/class/db/db_driver_mysql.php152db_driver_mysql->halt(%s, %d, %s)
9source/class/db/db_driver_mysql.php223break()
www.yesbeauty.com 已經將此出錯信息詳細記錄, 由此給您帶來的訪問不便我們深感歉意.