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 status = 1 and pid <>1184 order by pid desc limit 3' at line 1
select * from designm_works where uid = and status = 1 and pid <>1184 order by pid desc limit 3

PHP Debug

No.FileLineCode
1plugin.php47include(%s)
2source/plugin/designm/works.inc.php54lev_module::ismodule2(%s, %s)
3source/plugin/designm/lev_module.php32_works_module::readlist(Array)
4source/plugin/designm/module/_works_module.php52table_designm::getdatalist(%s, %s, %s)
5source/plugin/designm/table/table_designm.php37discuz_database::fetch_all(%s)
6source/class/discuz/discuz_database.php100discuz_database::query(%s, Array, false, false)
7source/class/discuz/discuz_database.php136db_driver_mysql->query(%s, false, false)
8source/class/db/db_driver_mysql.php151db_driver_mysql->halt(%s, %d, %s)
9source/class/db/db_driver_mysql.php218break()
www.narkii.com 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意. Need Help?