Groups widget creates exception

This Widget is currently partially broken, causing these two issues:

  1. Preventing staged users from signing up - see Staged users unable to join the forum via invite, sign-up, or login - #6 by nathankershaw - support - Discourse Meta
  2. Causing errors when a user is a member of more than 8 visible groups

I know a bit more about this now:

It isn’t just staged users. There is an error in the invitation page (i.e. the page that loads when a user clicks on an invitation), which seems to manifest as a real problem intermittently. The problem goes away when the TC is disabled. In the console:

image

@angus - is there any chance you can take a look? I think it has been there a while but I’ve only just noticed it after utilising invitations a bit more recently. And I really don’t want to drop off the groups functionality / surfacing as they are quite important to us (and the focused sidebar isn’t ready to switch to yet).

Sure, I’ll take a look later today.