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 t.status=1 AND t.isshow=1' at line 1
SELECT COUNT(*) FROM sanree_brand_businesses as t LEFT JOIN sanree_brand_category AS c ON t.cateid = c.cateid WHERE 1 AND t.birthprovince = '广西壮族自治区' AND t.birthcity = '崇左市' AND t.birthdist = '龙州县' AND t.birthcommunity = '八角乡' AND t.cateid in (17) AND AND t.status=1 AND t.isshow=1

PHP Debug

No.FileLineCode
1plugin.php59include(%s)
2source/plugin/sanree_brand/sanree_brand.inc.php205require_once(%s)
3source/plugin/sanree_brand/module/sanree_brand/sanree_brand_index.php206table_sanree_brand_businesses->count_by_wherec(Array)
4source/plugin/sanree_brand/table/table_sanree_brand_businesses.php64discuz_database::result_first(%s, Array)
5source/class/discuz/discuz_database.php117discuz_database::query(%s, Array, false, false)
6source/class/discuz/discuz_database.php136db_driver_mysql->query(%s, false, false)
7source/class/db/db_driver_mysql.php153db_driver_mysql->halt(%s, %d, %s)
8source/class/db/db_driver_mysql.php224break()
www.7h365.com 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意. Need Help?