A Database Error Occurred

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 'secondary_categories)>0 and p.status=1 ORDER BY `p`.`id` DESC' at line 5

SELECT * FROM (`product` p) WHERE `p`.`cat_id` IS NULL AND `p`.`status` = 1 OR FIND_IN_SET(,secondary_categories)>0 and p.status=1 ORDER BY `p`.`id` DESC

Filename: /home/etgi/public_html/models/product_model.php

Line Number: 233