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 '',subject)>0 ORDER BY tid DESC LIMIT 0,10' at line 1
SELECT tid,subject FROM forum_thread WHERE fid not in (23,53,400) AND LOCATE('abbot's',subject)>0 ORDER BY tid DESC LIMIT 0,10

PHP Debug

No.FileLineCode
1ksource/dict.php122GetWordDetail()
2ksource/dict.php440GetRelativeThreadByWord(%d, %s)
3ksource/dict.php497discuz_database::query(%s)
4source/class/discuz/discuz_database.php137db_driver_mysqli->query(%s, false, false)
5source/class/db/db_driver_mysqli.php147db_driver_mysqli->halt(%s, %d, %s)
6source/class/db/db_driver_mysqli.php222break()
cidian.foyuan.net 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意. Need Help?