A change to the Ultimate Member plugin has required an important, one-time change in the TwitchPress UM Extension. It involves removing/applying standard WordPress roles to a user who subscribes to the main Twitch channel. I’m not blogging about the way, I’m just making a quick post to help remind you and even myself how this now works.
Remove Many Roles
To handle the rare event of a user having more than one WordPress role that is paired with Twitch subscription plans, we remove them all. The issue here is that a role might be required by a user for purposes, probably not going to happen for most gaming websites though. I’m just blogging to help us troubleshooting if someone has a big issue with it.
The PHP in this above shows that the UM extension will loop through all of a users roles (they will usually have a single role) which are also paired with Twitch subscription plans. In theory, this should never be required but is a precaution to prevent a situation where users are granted multiple roles within the TwitchPress system.
This error was meant to indicate that the giving channel has not been entered properly but right now it also appears if the user_read permission has not been granted in scopes.
In April 2018 two users complained about seeing this notice after a plugin update. The solution is to complete the Setup Wizard again and apply user_read, unless the spelling of the channel is the issue.
A notice commonly experienced by a first-time installation of TwitchPress and it is caused by the user_read permission not being granted. You can change that at any time in the Twitch API tab, in the plugin’s Settings.
Always check the plugins configuration in the Help tab when dealing with a problem, click here to read more on how to confirm that my Twitch plugin is fully setup.
Twitch returned some of your account information but your email address was not included in the data.
The plugin already runs some tests, per page request, while you’re on the administration side and requesting any TwitchPress view. The tests results can be found in the Help tab, while you’re on any of the plugins own views.
Various tests are performed to try different areas of the plugin. Each missing or incorrect value requires a different approach to troubleshooting. So don’t get carried away trying to make the plugin work, without being pointed in the right direction by another guide or by asking me!
The one possible fix that you can try for all scenarios is completing the Setup Wizard again. You will find a button to start that in the Installation section of the Help tab you’ve just been looking at above.