Requête erronée: 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 titre_e' at line 1

SELECT *, IF(titre_e<>'',titre_e , titre_f) titre FROM evenements_categories WHERE id IN (SELECT evenements_categories_id FROM evenements_a_evenements_categories WHERE evenements_id = ) ORDER BY titre_e

#1 /home/clients/56896274cfa53a5499e39fb1fc161051/web/cms/lib/db.php(38): obj->_error()
#2 /home/clients/56896274cfa53a5499e39fb1fc161051/web/obj/evenements.php(53): db->execQuery()
#3 /home/clients/56896274cfa53a5499e39fb1fc161051/web/pages/programme.php(476): evenements->__construct()
#4 /home/clients/56896274cfa53a5499e39fb1fc161051/web/index.php(262): include()