Internal Server Error when accepting group join

I’ve seen a couple of these recently. It’s because the particular user that’s being accepted to the group has a blank locale for some reason (rather than null or a specific value like en).

A fix has been put in place to prevent this error:

https://github.com/discourse/discourse/pull/27635

If you update your site and pull that fix in that should stop those errors and allow those users to be accepted to the group. :+1: