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 ')' at line 1

SELECT * FROM thematiques WHERE id IN ( SELECT thematiques_id FROM ressources_to_thematiques WHERE ressources_id = )


#1 /home/clients/202cac5b630ad3973de396ec05a9d91f/web/site/cms/lib/db.php(38): obj->_error()
#2 /home/clients/202cac5b630ad3973de396ec05a9d91f/web/site/obj/contenus.php(76): db->execQuery()
#3 /home/clients/202cac5b630ad3973de396ec05a9d91f/web/site/obj/ressources.php(113): getThematiquesFor()
#4 /home/clients/202cac5b630ad3973de396ec05a9d91f/web/site/pages/ressources.php(119): ressources->display()
#5 /home/clients/202cac5b630ad3973de396ec05a9d91f/web/site/index.php(172): include()