Support » Plugin: User Switching » [Plugin: User Switching] Switching To – Switching to myself

  • Very weird issue on one of my client sites running WPMS 3.0.1 – it was previously WPMU.

    Clicking ‘Switch to’ on any of the users (in user manager or profile editor) it ‘switches’ but it says it’s switched to my user acct from my acct.

    Anyways, it looks like it boiled down to COOKIEHASH being empty. I checked why it was empty and it was my wp_sitemeta table not containing a record for siteurl – which is very weird. Why is it very weird? Because new installs have this option. It *may* be something to do with the upgrade process itself in WP from WPMU or something entirely different.

    Figured I’d leave this post here for anyone to read if it helps them.

    To fix this issue:

    1. Add siteurl value to your wp_sitemeta table (set one up for each of the sites based on site_id)
    2. Clear your cookies for the site
    3. Login again as your admin
    4. Go to users menu pages and switch to user as normal
    5. Works!

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


    WordPress Core Developer

    Hi Scott,

    I’ve not had a chance to test the plugin on a Multisite install yet, but any install should have a ‘siteurl’ option in the database. Not sure why your install wouldn’t or whether this was related to upgrading from WPMU. I’ll bear it in mind when I get around to testing it on a Multisite install.


    Sounds good, yeah it’s very curious indeed!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: User Switching] Switching To – Switching to myself’ is closed to new replies.