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/cms/lib/db.php(38): obj->_error()
#2 /home/clients/202cac5b630ad3973de396ec05a9d91f/web/obj/contenus.php(76): db->execQuery()
#3 /home/clients/202cac5b630ad3973de396ec05a9d91f/web/obj/ressources.php(115): getThematiquesFor()
#4 /home/clients/202cac5b630ad3973de396ec05a9d91f/web/pages/ressources.php(121): ressources->display()
#5 /home/clients/202cac5b630ad3973de396ec05a9d91f/web/index.php(271): include()