Database Error

A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY `sort_id` desc LIMIT 8' at line 7

SELECT `id`, `title`, `photo`, `seotitle` FROM (`boc_product`) WHERE `cid` = 75 AND `audit` = 1 AND `ctype` IS NULL AND `id` != ORDER BY `sort_id` desc LIMIT 8

Filename: /home/leboo/boc/libs/core/MY_Model.php

Line Number: 338