We seem to be having an issue at one of my customers. I ran the "Downgrade Expired User Upgrade" cron job manually, but that did not seem to remove the users from the group they get added to when they purchase the user upgrade.
The forum recently was converted from vB 3.6, not sure if that might have anything to do with it?
I checked the code, and ended up seeing /xenforo/model/userupgrade.php, method downgradeUserUpgrades. I verified the user-id of the user we're using as an example was added to the table 'xf_user_upgrade_expired'.
Any ideas of where I could start looking why the group membership is not handled?