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 '1) ORDER BY rand() LIMIT 4' at line 7

SELECT P.product_image, PC.title, PC.url FROM product as P INNER JOIN product_content as PC USING(product_id) INNER JOIN languages as L USING (language_id) WHERE P.is_active = 1 AND L.language_code = 'tr' AND P.pcategory_id IN (,1) ORDER BY rand() LIMIT 4

Filename: models/Product_model.php

Line Number: 211