PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Sometimes two users are created

  1. I have a problem met an User Registration form, sometimes it creates 2 exactly the same users. I could nog reproduce the problem in any way. Clicking multipe times on the submit button had no effect. Also fast refreshing the page after submitting the form had no effect.

    I inspected the plugin and i see that it is checking for existing usernames:

    $user_id = username_exists($user_name);

    See the following images for two exact the same users in our WordPress installation:
    - http://twitpic.com/5c9xil
    - http://twitpic.com/5c9xsu

    Do you have any idea what is causing this problem?

    We are using the W3 Total Cache plugin for caching, could that cause some problems? The option "Database Cache" is enabled.

    Posted 12 years ago on Thursday June 16, 2011 | Permalink
  2. It seems that new users sometimes can not login directly. I think it has something to do with caching (W3 Total Cache). I adjusted some configration options in the W3 Total Cache plugin, see if that helps.

    Posted 12 years ago on Thursday June 16, 2011 | Permalink
  3. Sounds like a caching issue. The plugin checks for existing users, so it shouldn't be creating multiple users with the same username. WordPress shouldn't even allow this to happen.

    Posted 12 years ago on Thursday June 16, 2011 | Permalink