Database Error; SQL: SELECT DISTINCT `t`.* FROM `jomiz_pods_product` AS `t` LEFT JOIN `jomiz_podsrel` AS `rel_product_category` ON `rel_product_category`.`field_id` = 47 AND `rel_product_category`.`item_id` = `t`.`id` LEFT JOIN `jomiz_pods_productcategory` AS `product_category` ON `product_category`.`id` = `rel_product_category`.`related_item_id` WHERE ( `product_category`.`id` = ) ORDER BY `t`.`display_order` ASC, `t`.`name`, `t`.`id`; Response: 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 `t`.`display_ord...' at line 14