I have rights which remain visible in the role management.
I searched the database for the wp_user_roles option in the wp_options table, but I found nothing, currently I only have wpmembers_user_search_crud appearing.
When permission is granted to one of the roles and you delete plugin, it will not delete already granted permissions. please uncheck all checkboxes under “Grant” column next to permissions that start with erp_ for each role. Once it’s done, you’ve to flush cache and you should not see these options.