A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY titulo DESC' at line 1

SELECT produto_id FROM produto WHERE produto.deleted = 0 AND idioma_id = 1 AND produto_id IN (0,362,446,365,440,281,278) AND produto_id != ORDER BY titulo DESC

Filename: /home/storage/c/34/5a/gsc2/public_html/libraries/GenericModel.php

Line Number: 268