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 '') ORDER BY t.bid asc LIMIT 0,8' at line 4
SELECT t.*,tt.views,c.name as catename,b.name as brandname,b.groupid FROM sanree_brand_goods AS t LEFT JOIN sanree_brand_goods_category AS c ON t.cateid=c.cateid LEFT JOIN forum_thread AS tt ON t.tid=tt.tid LEFT JOIN sanree_brand_businesses AS b ON t.bid=b.bid WHERE t.status=1 AND t.isshow=1 AND t.bid NOT IN (') ORDER BY t.bid asc LIMIT 0,8

PHP Debug

No.FileLineCode
1plugin.php47include(%s)
2source/plugin/sanree_brand_goods/sanree_brand_goods.inc.php291require_once(%s)
3source/plugin/sanree_brand_goods/module/sanree_brand_goods/sanree_brand_goods_index.php522include(%s)
4data/template/1_diy_sanree_brand_goods_index.tpl.php677output()
5source/function/function_core.php1036block_updatecache(%s)
6source/function/function_block.php243block_brand_goods->getdata(Array, Array)
7source/class/block/sanree/block_brand_goods.php205table_sanree_brand_goods->fetch_all_forblock(%s, %s, %s, %s)
8source/plugin/sanree_brand_goods/table/table_sanree_brand_goods.php211discuz_database::fetch_all(%s, Array)
9source/class/discuz/discuz_database.php106discuz_database::query(%s, Array, false, false)
10source/class/discuz/discuz_database.php142db_driver_mysql->query(%s, false, false)
11source/class/db/db_driver_mysql.php152db_driver_mysql->halt(%s, %d, %s)
12source/class/db/db_driver_mysql.php223break()
www.mhwsx.com 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意.