• Resolved jacquelinej

    (@jacquelinej)


    Hi, Since about maybe one or two weeks I have this strange issue:

    Users who are logging in get to see the acocunt as if they are someone else. They login like themselfs, but when logged in they see another name from another user. They use their own logins. When they logout, and again login, they sometimes see their own profile but sometime they again see another-other account. Very strange.

    I allready sent these people new passwords, it doesnot help. I cleared cache on different ways, updated Ultimate member and WordPress and the theme Divi. Nothing helps.

    For the record: users are not ment to see accounts from other users. The problem is also, it look slike they are someone else when loggedin.

    Does someone what is going om on my site?

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 18 total)
  • hastibe

    (@hastibe)

    Usually, it is caching on your website or server that causes that. Are you using a caching plugin or does your website hosting plan include caching? If so, see if you can turn off caching for logged-in visitors. If the plugin or website hosting plan can’t do that, they may have another suggestion / solution, or you may need to move to an alternative plugin or hosting plan of theirs.

    Thread Starter jacquelinej

    (@jacquelinej)

    Hi, thank you for your fast reply. For now I turned off the caching (LiteSpeed). I deleted cache meny times, but apparently it doesnot help. Hope this will do the thing.

    hastibe

    (@hastibe)

    Keep us posted! Cache gets regenerated quickly, so the reason deleting it doesn’t work is because the pages are being re-cached. If there isn’t a setting to not show cached pages to logged-in users, you also could try disabling caching for specific pages (your caching plugin should have a setting field to do that) where the issue is occurring or causes the problem, like your member Account page or Profile page, etc.

    hastibe

    (@hastibe)

    Ah, and, @jacquelinej, see the suggestions here for using Ultimate Member with caching (it even has a section specifically for LiteSpeed!): docs.ultimatemember.com/article/1595-caching-problems

    Thread Starter jacquelinej

    (@jacquelinej)

    thanks for your update. I did the settings as they described. Will let you know the results. Many thanks!!

    Thread Starter jacquelinej

    (@jacquelinej)

    its a pity, it didnt work out. The users still get other usernames and also other role. When they click on ‘account’ they get their own role.

    maybe other tricks?

    hastibe

    (@hastibe)

    Hmm, I’m only familiar with caching causing this issue. Have you reached out to your website host to see if there is server caching that they are doing? Or, perhaps you are using Cloudflare or a service like it, which also caches websites?

    hastibe

    (@hastibe)

    Oh, and I noticed that you said the settings did work for the Account page (which you presumably excluded from caching) — are the pages where users are still seeing others’ usernames on pages not excluded from the cache? If so, you need to also include those pages, of course.

    Alternatively, you might try turning off caching of logged-in users, as I suggested previously. See here: docs.litespeedtech.com/lscache/lscwp/cache/#cache-logged-in-users

    Hope this helps!

    Thread Starter jacquelinej

    (@jacquelinej)

    Hi, I found the option to turn off caching of logged-in users. So let’s see if this helps.

    But here is also the option in the first tab: Cache Login Page is on.
    Shall I turn this off also?

    I turned off caching for this pages:
    /account/
    /login/
    /password-reset/
    /register/
    /user/

    I also allready asked the host. They also do something with cahce on their server. But now it is weekend, so dont know if they will reply.

    Thread Starter jacquelinej

    (@jacquelinej)

    So: host cannot do anything, they don’t use server-caching. I’m lost with possibilities to try, did everything, but no luck

    Just to clarify, it sounded previously like excluding pages from the cache might be working ( you wrote above that “When they click on ‘account’ they get their own role.”) is / was that ever the case, or -even with caching on for the page- did they still get the correct details when they went to the Account page?

    But here is also the option in the first tab: Cache Login Page is on.
    Shall I turn this off also?

    On the LiteSpeed page I linked to, it says about the option: “This option will cache the login page. Normally, there is no reason to uncheck this option. However, if there is something that may identify a user on the page, this should be off.” Is there something that identifies the user on that page?

    Please let us know about the questions above, and hopefully Ultimate Member support or other volunteers here will be able to chime in, as well!

    @jacquelinej

    From HTML at your UM pages

    <!– Page cached by LiteSpeed Cache 6.1 on 2024-03-11 23:05:46 –>

    Disable the LiteSpeed caching for all UM pages.
    I have made a Registration at your site and every UM page is being cached by LiteSpeed.

    Thread Starter jacquelinej

    (@jacquelinej)

    Hi @missveronicatv: thank you for doing this. But as far as I know, I disabled the cache for all UM pages. Or do I have to disable all pages that users have access to?

    Thread Starter jacquelinej

    (@jacquelinej)

    @hastibe: This was wrong what I wrote, also when the users click on their ‘account’, they see someone elses account.

    I also disabled cache in UM for the loginpage, but doesnot help either. On the loginpage (loggedin) you see the emailaddress

    @jacquelinej

    Try to deactivate the “LiteSpeed” plugin to remove all your caching
    for a test to see if this will display your User’s UM pages correct.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘logged in users get account from other user’ is closed to new replies.