wp_insert_user stop working
-
Hello,
I have this code:
$userdataArray = array( 'user_login' => 'name-surname', 'user_nicename' => 'Name Surname', 'user_email' => '(email visible only to moderators and staff)', 'user_pass' => password12345, 'first_name' => 'Name', 'last_name' => 'Surname', ); $user_id = wp_insert_user($userdataArray) ;But the wp_insert_user still return “Cannot create a user with an empty login name.”. Earlier this works great, but now I cannot register new customers.
Thank You very much for help.
-
Your site is using the self-hosted version of WordPress, and you need to seek help at the WordPress.org forums:
https://wordpress.org/support/forums/
These forums are for WordPress.com hosted sites only :)
Thanks !!!
- The topic ‘wp_insert_user stop working’ is closed to new replies.