JS error after upgrade

After upgrading to latest discourse this morning, I see the following error in the JS console and my forum does not load:

Uncaught SyntaxError: missing ) after argument list

Here’s a screenshot of the issue, you can see it live on http://discourse.kohanaframework.org

Are you running any non-standard plugins?
Are you behind Cloudflare?

1 « J'aime »

Yes, we use CloudFlare. I’ve turned off “JS minification” and that seems to have made the problem go away.

Does Discourse not test against minified files?!

The purpose of a minify is to NOT alter program behavior, while decreasing size.

Discourse already minifies the assets. Cloudfare have a broken minifier.

4 « J'aime »

I think you meant to say:

Does Cloudflare not test their minifier?!

When functioning code is broken by a third party, that is not the code’s fault.

2 « J'aime »

Can you please raise this with cloudflare and post your issue number here?

1 « J'aime »

Sam, I’ve raised the issue to CF, my issue number is #1067945

3 « J'aime »

Good news! After some public shaming on my part, this is now fixed on Cloudflare’s side for everyone, worldwide.

I’m deleting all the other topics on this as ancient history.

3 « J'aime »

This topic was automatically closed after 2902 days. New replies are no longer allowed.