SQL Error : 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 forum_id = 18
AND topic_moved_id = 0' at line 3
SELECT topic_id
FROM phpbb_topics
WHERE topic_id IN ()
AND forum_id = 18
AND topic_moved_id = 0