发生了一个数据库错误

Error Number: 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 `category` = 'site' AND `key` = 'title_suffix' ORDER BY `sort_id` desc' at line 7

SELECT *, `value` FROM (`boc_article`, `boc_configs`) WHERE `cid` = '8' AND `ctype` IS NULL AND `audit` = 1 AND `id` != AND `category` = 'site' AND `key` = 'title_suffix' ORDER BY `sort_id` desc

Filename: /www/wwwroot/arisun-atvtire.com/libs/models/configs_model.php

Line Number: 47