"dt7948 is not defined" error on Discourse desktop site

If safe mode is working fine you may want to check what themes you have installed too, not just plugins. (<site-url>/?safe_mode=no_themes).

Can you confirm it’s not a theme causing issues?