This is caused by some plugins that like to “wipe” or “reset” custom roles that plugins Like Connections, Easy Digital Downloads and Events Manager add. One such plugin is s2Member. Every update rests all custom roles.
More details here is my support forum:
http://connections-pro.com/support/topic/role-settings-disappear/#post-304801
Soution to the s2Member reset is in the wp-.org supoport forum:
https://wordpress.org/support/topic/resetting-roles-every-time
Since custom roles in WordPress are persistent so Connections sets a “flag” in the options that if it exists will not attempt to recreate them which would reset them. Once this flag is set, there is no point and click way to force reset the Connections custom roles. Not even deactivating and deleting will reset this “flag”. With that said, there is a solution.
Install the Code Snippets plugin:
https://wordpress.org/plugins/code-snippets/
Create new snippet.
Add the following code to the new snippet:
add_action( 'init', 'cn_reset_role_capabilities' );
function cn_reset_role_capabilities() {
if ( ! is_admin() ) return;
// Class used for managing role capabilites.
if ( ! class_exists( 'cnRole' ) ) require_once CN_PATH . 'includes/admin/class.capabilities.php';
cnRole::reset();
}
Save and activate the snippet.
You should now be able to view all of Connections admin page.
! Important ! Deactivate the snippet.
Hope that helps!