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 '),category_ids) != 0 AND `id_product` != '1713' ORDER BY `id_product` ASC' at line 4

SELECT `id_product`, `sku_no`, `product_title`, `model_name`, `page_url`, `regular_price`, `sale_price`, (SELECT product_image FROM ga_product_images WHERE is_featured=1 AND product_id=P.id_product)product_image FROM `ga_products` `P` WHERE `P`.`status` = 1 AND FIND_IN_SET((),category_ids) != 0 AND `id_product` != '1713' ORDER BY `id_product` ASC

Filename: models/Gitanjali_product_model.php

Line Number: 535