Access your site via safe mode. Go to forum.example.com/safe-mode
, disable the current theme, and then you can disable the theme component from the admin panel. See How to use Discourse Safe Mode for more details.
3 Likes