"SyntaxError: missing ) after argument list" from locale/en.js

(Emma Lejeck) #1

Hey there, just upgraded forums.hummingbird.me and now I’m getting an error “SyntaxError: missing ) after argument list” coming from the locale file. I’ve disabled all plugins, ran SiteCustomization.update_all(enabled: false) and TranslationOverride.update_all(locale: 'es') to make sure we don’t have any customizations, rebuilt and I’m still getting it.

Disabling everything I have should put us on vanilla discourse, but I’m still getting this error message.

(Jeff Atwood) #2

This usually means you have some kind of wack JS minimization in front of us, like through Cloudflare. If you do, turn that off.

Discourse already has super optimized resources, so “extra” minimization achieves nothing except breaking stuff.

(Emma Lejeck) #3

I’ll be damned, it was indeed CloudFlare. I could’ve sworn we disabled all mangling features because we also have heavily-optimized resources :no_mouth:

(Jeff Atwood) #4