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 '= ,sub_category_ids) > 0 AND `status` = 0 LIMIT 8' at line 3

SELECT * FROM `products` WHERE FIND_IN_SET(30,category_ids) >0 AND FIND_IN_SET(MA= = ,sub_category_ids) > 0 AND `status` = 0 LIMIT 8

Filename: controllers/HomeController.php

Line Number: 59