I have a Wordpress website with a membership system, the issue is that some of my users are having problems logging in and the website gets stuck as they say. When i try it with my account, it works properly. So my question is there a way i can login with their account ( knowing that i don't have the password and am not going ask them for it ). I know that Wordpress encrypt the password, but what would be a good way to try to login in this case to investigate the problem for my users ? Thanks,
The user switching plugin https://wordpress.org/plugins/user-switching/ is an essential tool when developing sites with multiple users. It lets admins switch to the user's acount without knowing his password (from the user admin page) and switch back.
This might be enough for diagnosing user specific problem, but if you still need to have admin capabilities at the same time, you will be out of luck, and will need to have a different session with a different browser.
Regardless of that specific plugin, you should always have some "test users" as it is unlikely live users will appreciate you messing with their accounts if any configuration changes are needed. Don't forget to have a strong password for those users as well.