I'm on CiviCRM 5.16.2 on WordPress, and we have a situation where we have removed one of our organization's email addresses from one user account and added it to another account, but when the new user takes actions in CiviCRM it still shows the old user's name in various areas, one example being the "Changed By" name in the change log, but it also shows up incorrectly if the user enters a contribution, etc.

To explain in a bit more concrete way:

  1. User Alice has email address [email protected]
  2. [email protected] email address is removed from Alice's record in CiviCRM
  3. [email protected] email address is added to Bob's record in CiviCRM
  4. User Bob changes a record in CiviCRM
  5. Go to change log for the record, "Changed By" shows up as Alice, and even links to Alice's record if you click on the name in the change log

I don't see a way to fix this in the admin interface and I've confirmed that the email in question is absolutely not still in the old user's record, and if you do a search for the email address the only hit that comes up is the new user, so I'm a bit flummoxed why it'd be behaving this way. Any ideas would be greatly appreciated. Thanks!

1 Answer 1


First, on the wordpress side, check what email is listed for Alice in her wordpress user record. If it still has [email protected] that might be the problem.

Otherwise there's a civicrm_uf_match table in the database that is used to map between user accounts in the CMS (wordpress) and contacts in CiviCRM and it's partly based on email address. If you look in this table the email address might still be showing as connected to Alice's wordpress user id.

  • Thank you so much for the info! I'll get a chance to look into this later today and follow up with what I find. Commented Sep 10, 2019 at 13:28
  • So oddly enough there is no account in WordPress with the email address in question, but I did update the "wrong" record in the civicrm_uf_match table with the correct uf_name and contact_id, so we'll see if that does the trick. I'll update again and mark this as the answer if that does the trick. Thanks again for the pointers! Commented Sep 11, 2019 at 23:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.