Error message: 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 '))' at line 7
SELECT `p`.*, `c`.`slug` AS `category_slug`, `c`.`title` AS `category_title`
FROM `products` AS `p`
LEFT JOIN `categories` AS `c` ON `c`.`id` = `p`.`category_id`
WHERE (`p`.`active` = 1)
AND (`c`.`active` = 1)
AND (`p`.`id` in (()))