Our site at https://ifutures.discourse.group/ stopped loading over the weekend. Simply displays a blank page. Cannot load as admin, regular user or non-registered user.
Help! (Please …)
Our site at https://ifutures.discourse.group/ stopped loading over the weekend. Simply displays a blank page. Cannot load as admin, regular user or non-registered user.
Help! (Please …)
It seems to work in safe mode with only themes disabled so I think it’s a theme component or custom code acting up
https://ifutures.discourse.group/?safe_mode=no_themes
If you check your /logs
you should see some extra info that should help identify which one.
There should also be some errors in your browser console when you look at the site out of safe mode as well that could tell you more (I’m on my phone at the moment so can’t look myself, though someone else might jump in with the extra info )
The error in the browser console is not that helpful:
Uncaught (in promise) TypeError: Class constructor B cannot be invoked without ‘new’
Thanks, JD - wasn’t aware of safe mode! I’ll check this out.
Thanks, Moin - looks like we have to tinker with the themes we’re using.
I believe you still have the deprecated Dark/Light Mode Toggle installed. Even if it’s not causing the loading problem, I would remove it as it could cause issues in the future.
But as a hosted customer you can also ask the Discourse team for help
I think this may be a path forward for this one. I’m seeing an error for ‘deprecation collector’:
I think maybe there’s an issue with the amount of warnings and safe mode with no themes helps as it doesn’t load them (so perhaps not an issue with a theme/theme component itself).
Having a tidy up of any outdated theme components as Moin suggests may also help too.
But the support team have much greater access so should be able to offer more hands on help.
Thanks - am hosted customer, as you say. Do I just wait for someone from the Discourse team to pitch up here, or is there a direct way to reach them? Haven’t had to do this before.
You can contact them directly anytime by emailing team@discourse.org or by sending a message to @team when you’re logged in here on meta.
I’d definitely reach out rather than waiting as they monitor the team inbox much more closely than the community support area.
Hey @PatrickF,
I am looking into this problem right now and will keep you updated.
Thanks, Kris - just sent a DM, which you can now ignore!
I narrowed down the problem to the Tag Banners
component. I disabled it, and the forum seems to be working again.
Can you please confirm that it is working for you as well?
Yes, all good - thank you so much.
Looks like there is a problem with Google fonts which we need to address:
[Admin Notice] Theme ‘discourse-google-font-component’ contains code which needs updating. (id:discourse.script-tag-hbs) (learn more)
Thanks again!