• Hi! I noticed that upon changing a user’s alias (whether via WordPress or directly in wp_usermeta table), switching to that user will not work (page takes forever to load and finally fails with an HTTP 500 error).

    Upon further investigation I noticed that switching to that user works again after the user has logged in successfully in WordPress.

    We found this when testing after upgrade (current versions WP8.1, User Switching 1.5.7), but I cannot guarantee that it worked properly before 🙁

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Can you clarify what you mean by a user alias? This isn’t a standard field in WordPress.

    Thread Starter nacholamas

    (@nacholamas)

    I beg your pardon. It is the meta_key “nickname” in wp_usermeta.
    (In Spanish it shows as “alias” so I thought it would be the same for the name of the field – my bad).

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Thanks. I can’t see any reason why the nickname/alias would affect switching users, and I just tested this on my test site and I can successfully switch to a user after changing their nickname. At its core User Switching just swaps out your cookies, and the nickname isn’t contained anywhere in a user session or a cookie.

    I wonder if the underlying problem is due to a plugin conflict on your site, or a caching issue. Can you try deactivating your other plugins one by one to see if one of them is causing the problem? And are you sure this only affects the nickname field?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Not working after user alias changed’ is closed to new replies.