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 ') AND `p`.`estado` = 1 ORDER BY `p`.`orden` asc, `stock` desc, `p`.`id` LIMIT 2' at line 3

SELECT `p`.`id`, `precio`, `p`.`subrubroid` FROM `productos` `p` WHERE p.id IN() AND `p`.`estado` = 1 ORDER BY `p`.`orden` asc, `stock` desc, `p`.`id` LIMIT 28

Filename: models/Productos_m.php

Line Number: 102