Login and logout issues

I have set up a membership subscription on a website I am building using S2 Member and all has been fine until I did a test purchase and created a new profile, then realised I hadn’t created a logout button, which I have tried to do since but even though it takes me to the URL I selected using the wp_logout_url() code, it is not logging me out and I now cannot log back in as an admin on my computer to correct the issue.

Any thoughts would be greatly appreciated! I am a bit out of my depth tbh!

This is a WordPress issue not a plugin issue. But I’ll help you out anyway. WordPress stores the login / logout state as a cookie on your browser. If you clear your browser cache you will be logged out of WordPress.