• Prior to update:

    • I have two Custom UM Roles, Member and Non-Member.
    • Member is set to the default user role.
    • Upon registration, a registration success message is shown.
    • Upon registration, Member is set to Require Admin Review.
    • Upon login, Member redirects to a custom URL.
    • Member cannot see WP Admin bar.

    After update:

    • Member has changed to “No” for Custom UM Role. Non-Member is still “Yes” for Custom UM Role.
    • Member is still the default user role.
    • Upon registration, the registration form refreshes, no message is shown.
    • Upon registration, Member is able to login immediately, without Requiring Admin Review.
    • Upon login, Member is redirected to /user/username instead of the custom URL.
    • Member can see the WP Admin bar.

    Current actions to date:

    • I have Reset UM Role metadata and set the UM Role settings to what they are supposed to be for the Member UM role.
    • I have edited the Member UM role and clicked Update.
    • I have ensured that I am using an UM role rather than a WP role.
    • I have verified that I have not been using any other Role plugin
    • I have verified that our custom theme doesn’t make any modifications to the UM roles and that no conflicts have occurred with the theme or with other plugins.
    • I have viewed the database, and have found two entries for the Member role:

      um_role_member_meta – this has the correct settings.
      um_role_um_member_meta – this has some of the correct settings, but also has some errors, such as s:13:”_um_is_custom”;s:1:”0″;.

      This was not created by us.
      Manually changing _um_is_custom to 1 changes the “Custom UM Role” column to “Yes” but does not resolve the issues since the plugin was updated.

    • I have checked the Registration form to ensure no settings there have changed.
    • I have verified that no settings were changed before updating the plugin and that all features were working correctly prior to the update.

    I have tried all that I can except for:

    • creating a new user role and changing every Member on the website to that role, which would possibly create further issues and would also require numerous changes to the theme given the new role’s slug.
    • Rolling Ultimate Member back to the earlier version, which I imagine could cause all sorts of database issues if I simply replace the files, or it could wipe everything if I uninstall the new version then install the old version.

    I assume that this can be recreated by creating an installation with the prior version of Ultimate Member and setting the first list of conditions in this post, then updating Ultimate Member to the new version.

    I also assume that the issue lies in identifying whether a Custom UM Role that was set to “default role” was modified in some ways by the code for the latest update that resulted in its Custom UM Role property to be changed from “Yes” to “No” and was also further impacted.

    This is an urgent issue. Any discussion and/or help would be greatly appreciated.

    • This topic was modified 4 years, 4 months ago by colincwc.
    • This topic was modified 4 years, 4 months ago by colincwc.
Viewing 1 replies (of 1 total)
  • I don’t know how to help with the technical side. Not in my knowledge base. But I can say from experience that rolling back the plugin for me in the last two updates has not negatively affected UM and WP. I would suggest trying it on a backup of your site before trying it on your live site.

    But it does sound like there is some corruption (backend or frontend, I don’t know) of the information in your “Member” role. It might be that the only solution is to recreate it. In the grand scheme of the world, that’s a small, but unfortunate and frustrating, price to pay.

    As a note for posting issues and requests for support, it’s helpful to know the version you were on and the version you have updated to. It helps pinpoint where issues might have been introduced, how to solve them, and if it is a known issue or not.

    Hope this helps.

    • This reply was modified 4 years, 4 months ago by greenrooster.
Viewing 1 replies (of 1 total)
  • The topic ‘User Roles issue after update’ is closed to new replies.