I try to use the Invites on my Account Preferences and it redirects to the second last page and if I open Account Preferences to a new tab it doesn’t redirect.
The issue here was that user should not be seeing “Invites” tab until they have the permission to send invites (trust level 2 and above). This is fixed on latest Discourse version and we have deployed the fix here.