Hi Cristian, thannks for your reply.
Here is what we are looking at -
I have marked some pages on my website as restricted using their IDs. The restricted content is accessible for users with level 1 access and above.
I have created 2 premium levels - ‘Silver Member’ (level 1 in S2member) and ‘Gold Member’ (level 2 in S2member).
It was working flawlessly earlier. But if a gold member tries to access any of the restricted pages now, he is redirected to ‘membership registration’ with following URL -
‘https://enggcyclopedia.com/enggcyclopedia-member-registration/?_s2member_vars=page..level..1..page..7759..L2NhbGN1bGF0b3JzL2luc3RydW1lbnQtc2l6aW5nL3Bzdi1zaXppbmctY2FsY3VsYXRvci1ibG9ja2VkLWdhcy1kaXNjaGFyZ2UtMi8%3D&_s2member_sig=1551759349-ca3cf19711e93e17fd177b5fa9dd4db0’
Please note that I have tried to access the above content with level 2 access. Even if I try the same with my admin account, I get the same problem. For some reason S2member is not able to validate that the logged in user has proper role (level1 or above) to access the restricted content.
If I remove the page IDs from restriction settings, this problem goes away. If I put the restriction on any other level (level 0 for example) the problem persits.
I guess the labels for level 1 & 2 (silver member and gold member) are not being correctly identified. This may be caused by some other plugins that have created additional user roles in my WP account.
But if that is the case, how to fix this problem? Your help is appreciated. Please let me know if you need any more info.