After last update to 3.4.0.beta2-dev version, when one of our Admin users login he got a broken layout as on screenshot.
Master admin user layout looks just fine.
Any idea ?
ondrej
September 10, 2024, 7:46am
2
Have you tried safe mode to rule out and theme / plugin / theme component issues?
Moin
September 10, 2024, 7:49am
3
Any errors in the browser console?
Cloudflare’s ‘Auto Minify’ feature will break recent versions of Discourse. In the browser console, you will see an error like:
Uncaught SyntaxError: Unexpected identifier '#...'
Cloudflare are aware of the issue, and have added this message to their dashboard:
Note: Please note that this feature may not be fully compatible with certain newer CSS and JS language features, which could potentially affect the functionality of the site
Unfortunately, despite this critical issue, the feature wi…
Edit: Apparently yes
Trumpolin
(Trumpolin)
September 10, 2024, 7:54am
4
@ondrej the safe-mode doesn’t help and leads to the same issue.
Lhc_fl
(Linca)
September 10, 2024, 7:58am
5
Hi
Are you using Cloudflare? Cloudflare’s auto-minify will cause this.
Also please make sure you have “Auto Minify” disabled. It looks like Cloudflare have deprecated this feature because of incompatibility with recent javascript features:
[SCR-20240509-nwaw]
Looks like you will need to purge your cache after doing that.
Thank you guys, it is solved now…
Indeed was issue with Cloudflare, even Rocket Loader was off, Auto Minify was on, and after disabling and purge cache, layout back to normal!