• Good afternoon,

    I’m using this plugin on several websites, but I’m experiencing a strange issue on one of them.

    The Administrator user role appears to have all permissions correctly assigned, and I can see them checked when viewing the role details.

    However, when I switch to another role and try to enable certain permissions, I can check them and save the changes successfully. The permissions still appear checked immediately after saving, but if I leave the page and come back, they are no longer selected and are therefore not actually assigned to the role.

    Has anyone experienced the same issue or knows what might be causing it?

    Thank you for your help.

    Have a great day!

Viewing 1 replies (of 1 total)
  • Plugin Support Omar ElHawary

    (@omarelhawary)

    Hi @sviluppoatl,

    Thanks for reaching out Members Support Team!

    This behavior — where capabilities save correctly but disappear after you navigate away — is almost always caused by another plugin on the site that dynamically rebuilds or resets role definitions on page load.

    When Members saves capabilities, it writes them to the database and the save is genuinely happening. But if another plugin is calling add_role() or resetting capabilities for that role on every WordPress init, it overwrites what Members just saved.

    A few things worth checking:

    1. Test with other plugins disabled. Temporarily deactivate all other plugins (except Members) and try saving the capability again, then navigate away and check if it sticks. If it does, a plugin conflict is confirmed.

    2. Common culprits. Plugins that register their own custom roles (WooCommerce, LMS plugins, User Role Editor, bbPress, etc.) sometimes re-declare those roles on every page load. If the role you’re editing belongs to one of those plugins, their code may be overwriting your changes.

    3. Check the role name. If the role you’re trying to edit was originally created by another plugin, that plugin “owns” it and may regenerate it from scratch each time. In that case, you’d need to configure capabilities through that plugin, or hook into its role registration to add your custom caps.

    If deactivating other plugins resolves it, reactivate them one by one to identify the specific conflict. Once you know which plugin is involved, we can help narrow down the next step.

    Regards,

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.