Hi, after recent update (1.10 on 6.3.1 WP Installation) first password field looks disabled in my environment.
Source code now is:
<input name="cuwp_pass1" type="password" id="pass1" autocomplete="off" disabled>
Obviously now is not possible to add new users unless clearing “disabled” from code on inspector window every time needed.
]]>Yes, when I go to my Network Admin and try to setup a new user, I thought I would see the password fields your plugin adds, but I do not see them. If I go to one of my subsites and try to add a new user, I can see the password fields. Is this the way it is supposted to be? Should I see it on the main Network Admin side when I setup a new user, because I do not? Please let me know what I might be doing wrong, thanks!!!!
]]>Hi,
Thanks for the plugin. It’s working well for manually setting passwords.
We want to disable the email that comes from the plugin as well as the ones that get sent by WordPress.
Could you make this an option or add a filter to stop it sending?
At the moment we have edited the plugin files to comment out the the email as I couldn’t find another way to do it.
]]>Error on creating user in multisite.
Stack trace:
#0 /home/public_html/wp-includes/pluggable.php(2578): clean_user_cache(NULL)
#1 /home/public_html/wp-content/plugins/create-user-with-password-multisite/php/cuwp.php(133): wp_set_password('NEWuserWITHpassword', NULL)
#2 /home/public_html/wp-includes/class-wp-hook.php(287): CUWP_Create_User_With_Password->cuwp_listen('')
#3 /home/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array)
#4 /home/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#5 /home/public_html/wp-admin/admin.php(408): do_action('admin_action_cr...')
#6 /home/public_html/wp-admin/user-new.php(10): require_once('/home/waindivid...')
#7 {main}
thrown in /home/public_html/wp-includes/user.php on line 1385
User seems to be created though they are unconfirmed. (any chance of adding a tick box to not send email and auto confirm?)
]]>Fatal error: Uncaught Error: Call to a member function exists() on null in /Users/fabrizioguespe/Developer/fastway/wp-includes/user.php:1371 Stack trace: #0 /Users/fabrizioguespe/Developer/fastway/wp-includes/pluggable.php(2569): clean_user_cache(NULL) #1 /Users/fabrizioguespe/Developer/fastway/wp-content/plugins/create-user-with-password-multisite/php/cuwp.php(132): wp_set_password('', NULL) #2 /Users/fabrizioguespe/Developer/fastway/wp-includes/class-wp-hook.php(287): CUWP_Create_User_With_Password->cuwp_listen('') #3 /Users/fabrizioguespe/Developer/fastway/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array) #4 /Users/fabrizioguespe/Developer/fastway/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #5 /Users/fabrizioguespe/Developer/fastway/wp-admin/admin.php(401): do_action('admin_action_cr...') #6 /Users/fabrizioguespe/Developer/fastway/wp-admin/user-new.php(10): require_once('/Users/fabrizio...') #7 {main} thrown in /Users/fabrizioguespe/Developer/fastway/wp-includes/user.php on line 1371
I get this error, i solved it with a simple validation in line 132 of cuwp.php in your plugin
Change:
wp_set_password(sanitize_text_field($_REQUEST[‘cuwp_pass1’]), $user->ID);
To: if($_REQUEST[‘cuwp_pass1’])wp_set_password(sanitize_text_field($_REQUEST[‘cuwp_pass1’]), $user->ID);
This happens when creating user with checkbox disabled and empty passwords (being superadmin )
]]>`2020/05/11 20:35:24 [error] 73837#73837: *13117250 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to a member function exists() on null in /www/ecomaltoweb_104/public/wp-includes/user.php:1371
Stack trace:
#0 /www/ecomaltoweb_104/public/wp-includes/pluggable.php(2569): clean_user_cache(NULL)
#1 /www/ecomaltoweb_104/public/wp-content/plugins/create-user-with-password-multisite/php/cuwp.php(132): wp_set_password(‘mayori111’, NULL)
#2 /www/ecomaltoweb_104/public/wp-includes/class-wp-hook.php(287): CUWP_Create_User_With_Password->cuwp_listen(”)
#3 /www/ecomaltoweb_104/public/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
#4 /www/ecomaltoweb_104/public/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#5 /www/ecomaltoweb_104/public/wp-admin/admin.php(401): do_action(‘admin_action_cr…’)
#6 /www/ecomaltoweb_104/public/wp-admin/user-new.php(10): require_once(‘/www/ecomaltowe…’)
#7 {main}
thrown in /www/ecomaltoweb_104/public/wp-includes/user.php on line 1371″ while reading response header from upstream, client: 186.23.64.237, server: ecomaltoweb.kinsta.cloud, request: “POST /wp-admin/user-new.php HTTP/1.0”, upstream: “fastcgi://unix:/var/run/php7.4-fpm-ecomaltoweb.sock:”,
Hello, im getting this error trying to create user with a shop manager with full capabilities.
it works ok for administrators and super-admins
Hi,
With your plugin when I create a new site my users are also receiving an e-mail with this subject:
[SITENAME] Your username and password info
There’s anyway to disable this e-mail? Its sending an reset password mail for users when I create a new site in my network using an e-mail that have no users yet!
I don’t know if this is something in your plugin or if you know how to disable this?
Thanks
]]>Please fix the way how you enqueue styles in the plugin, because it’s not standard:
wp_enqueue_style was called <strong>incorrectly</strong>. Scripts and styles should not be registered or enqueued until the <code>wp_enqueue_scripts</code>, <code>admin_enqueue_scripts</code>, or <code>login_enqueue_scripts</code> hooks. Please see <a href="https://codex.www.ads-software.com/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.3.0.)
in cuwp.php line 19:
wp_enqueue_style('cuwp-style', plugins_url('create-user-with-password-multisite/css/style.css'));
Hello, when trying to create a user with shop_manager role of woocommerce i get a javascript error.
Uncaught TypeError: Cannot read property ‘className’ of undefined
4load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,wp-ajax-response,password-strength-meter,underscore,wp-util,user-profile,svg-painter&ver=5.0.3:13 Uncaught TypeError: Cannot read property ‘className’ of undefined
at h (load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,wp-ajax-response,password-strength-meter,underscore,wp-util,user-profile,svg-painter&ver=5.0.3:13)
at HTMLInputElement.<anonymous> (load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,wp-ajax-response,password-strength-meter,underscore,wp-util,user-profile,svg-painter&ver=5.0.3:13)
at HTMLInputElement.dispatch (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,zxcvbn-async&ver=5.0.3:3)
at HTMLInputElement.r.handle (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,zxcvbn-async&ver=5.0.3:3)
13load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,wp-ajax-response,password-strength-meter,underscore,wp-util,user-profile,svg-painter&ver=5.0.3:13 Uncaught TypeError: Cannot read property ‘className’ of undefined
at h (load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,wp-ajax-response,password-strength-meter,underscore,wp-util,user-profile,svg-painter&ver=5.0.3:13)
at HTMLInputElement.<anonymous> (load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,wp-ajax-response,password-strength-meter,underscore,wp-util,user-profile,svg-painter&ver=5.0.3:13)
at HTMLInputElement.dispatch (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,zxcvbn-async&ver=5.0.3:3)
at HTMLInputElement.r.handle (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,zxcvbn-async&ver=5.0.3:3)
at Object.trigger (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,zxcvbn-async&ver=5.0.3:3)
at Object.a.event.trigger (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,zxcvbn-async&ver=5.0.3:9)
at HTMLInputElement.<anonymous> (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,zxcvbn-async&ver=5.0.3:3)
at Function.each (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,zxcvbn-async&ver=5.0.3:2)
at a.fn.init.each (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,zxcvbn-async&ver=5.0.3:2)
at a.fn.init.trigger (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,zxcvbn-async&ver=5.0.3:3)
I always get password dont match
]]>Hi,
I have done a fresh 4.9.8 multisite install, installed this plugin and network activated it, went to the Users -> Add New screen and I still see the default user creation page with no additional field for the password.
What could be wrong ?
thanks.
]]>Hi,
Love your work and thanks for creating such a useful plugin.
From testing today I’m noticing an issue around the notification email with this plugin. When adding a new user (as superadmin) even if the Add the user without sending an email that requires their confirmation checkbox is checked the user gets not one but two welcome emails. If I turn the plugin off and register a new user checking the box the emails don’t come.
Happy to share more info if you’d like.
Cheers.
https://www.ads-software.com/plugins/create-user-with-password-multisite/
]]>Hi
Thanks your Plugin.
I now clone Multi my site, Below Message..Display
Can you Advise me?
Thanks
WPDB ERROR : Got a packet bigger than ‘max_allowed_packet’ bytes
[23/Jul/2015:19:57:58] Duplication interrupted on SQL ERROR
https://www.ads-software.com/plugins/create-user-with-password-multisite/
]]>Hi,
Many thanks for your plugin, i tried it on wordpress 4.1.1 and it does add the new filed for the password, but it doesn’t show the option to disallow email notification so now any time the admin in one of his blogs adds a new user, has to wait until the user approve the registration, is there any way to fix this problem?
Many thanks
Vincenzo
https://www.ads-software.com/plugins/create-user-with-password-multisite/
]]>