https://textboard.lol/thread.php?id=6439d52bc938f
i made a post under homosex tag, you didn't check if the tag existed.
didn't check the sanitize function, but i also got no error when i sent a reply to id 123123 so don't know if thats in your database or not even though thread doesnt exist.