• I just upgraded to 5.5.1 and now, when I tried to add a new user, there doesn’t seem to be any way to add a password for a new user? There is a button that says “Show Password” but there is to field to enter the password?

Viewing 15 replies - 31 through 45 (of 78 total)
  • Hello

    Since this problem seems non-general and localized to a number of WordPress users, why not try to find what common element to all of us could explain it.

    In my opinion, this is an external factor to WortdPress, since the problem is happening to me in two completely different sites (server, theme, plugins, etc.). Do you have LastPass Password Manager installed on your computer?

    I have created new users by hovering the cursor over the space in WordPress for the new password and asking LastPass on the context menu to generate a secure password. And everything works!

    Is this a coincidence or is there some interference between the password management software and the password creation function of WordPress?

    • This reply was modified 3 years, 8 months ago by aralar.

    I got the same problem with error message about password fields not matching. There has always been only one PW field, but the system somehow attempts to check for second field which is not there – weird and a bug definitely.

    Good news is that after upgrading to 5.7, I can create new users without that stupid error message preventing the action.

    • This reply was modified 3 years, 8 months ago by skylabb.
    • This reply was modified 3 years, 8 months ago by skylabb.

    Same issue and I have 5.7…
    Tried to clear cache, cookies, tried different browsers. Nothing works.

    Using WP 5.7 and experienced same issue on Firefox w/ Ad Blocker. I was able to successfully create a new user on Chrome. Chrome immediately displayed the automated generated password whereas Firefox hid the auto password.

    ive tried all the suggestions that could apply to my site and still not able to add anyone.

    Hello. For me, the problem continues after refreshing WordPress to 5.7. I don’t use Ad Blocker (but Ublock Origin). Neither disabling the ad blocker nor running without plugins fixes the problem.

    However, I continue to create new users by doing what I had already explained. “I have created new users by hovering the cursor over the space in WordPress for the new password and asking LastPass on the context menu to generate a secure password”.

    I found solution
    go /wp-admin/includes/user.php
    and cmt line 179

    if ( ( $update || ! empty( $pass1 ) ) && $pass1 != $pass2 ) {
    $errors->add( ‘pass’, __( ‘Error: Passwords don’t match. Please enter the same password in both password fields.’ ), array( ‘form-field’ => ‘pass1’ ) );}

    Hi everyone,

    I’ve just encountered this and decided as a quick fix, I would add some CSS to wp-admin, to allow me to see the hidden field. You could amend the CSS rules within your browsers Inspect Element each time if you’d prefer. This is what I used in my functions.php. As always, take a backup of any files before you alter them!

    add_action('admin_head', 'my_custom_fonts');
    
    function my_custom_fonts() {
      echo '<style>
       .user-pass2-wrap {display:block!important;}
      </style>';
    }

    In my case, it was a function within functions.php that I disabled the zxcvbn.min.js file.

    I just removed that function and went back to working.

    // disable zxcvbn.min.js in wordpress
    add_action (‘wp_print_scripts’, ‘remove_password_strength_meter’);
    function remove_password_strength_meter () {
    // Deregister script about password strenght meter
    wp_dequeue_script (‘zxcvbn-async’);
    wp_deregister_script (‘zxcvbn-async’);
    }

    I had this problem as well, and I believe for me it was a problem with my LastPass populating the field with something. I used the “Generate Password” link and it worked for me.

    I have the same problem. For me deactivating the Yoast SEO plugin fixed the problem. I was able to create a new account only after doing so. I have opened a case with Yoast as I have the Premium SEO plugin and they are looking into it.

    @amsterdamshallowman I don’t have the premium plugin but can confirm that when I deactivated the Yoast plugin free version I am able to create new users.

    @r083r7

    Thanks to the excellent support of the Yoast team I was able to resolve this problem. Are you using a caching plugin? My site is hosted on Siteground which has a plugin called SG Optimizer. I also have WP Rocket. What I had to do was to purge the cache and then clear the cache and cookies in my Chrome browser and restart the browser. Once I did this I was able to create new users again even with Yoast SEO activated. Hope this helps.

    I am having same problem as @commontate, I can’t create a new user. Recently updated to WordPress 5.7.1 running Executive Pro Theme theme, using Genesis 3.3.3. It was working before then.

    The new user form looks normal except that the password field shows …… for the password and the hide button does not work. When I click “add new user” it throws an error:

    “Error: Passwords don’t match. Please enter the same password in both password fields.”

    There is only one field, so I cannot re-enter the password.

    Just tried it in Chrome browser and it works fine – I was using Firefox previously.

Viewing 15 replies - 31 through 45 (of 78 total)
  • The topic ‘Can’t set password for new users’ is closed to new replies.