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 ') WHERE `shop_product_categories`.`category_id` IN (3037) AND `shop_products...' at line 7