SELECT `category_id` FROM `motobase_pro_categories` WHERE `site_id` = 546 AND `instance_id` = 4 AND `language_id` = 1 AND `parent_category_id` = AND `active` = 1
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 `active` = 1' at line 1