“[email protected]” wrong email after registration
-
Hi ! I’m having a new problem with my ultimate member plugin, it was working fine and I deactivated it by mistake and now it’s going wild. When I try to register as a “client” on the registration form the info aren’t transmited to the backoffice. It changes the user id by user1 or any number and changes the email by [email protected]. It wasn’t having any probleme few days ago and now I’m stucked. I tried deleting and re uploading the plugin but nothing change. I found that in my um-actions-register.php :
$unique_userID = UM()->query()->count_users() + 1;
if ( ! isset( $user_login ) || strlen( $user_login ) > 30 && ! is_email( $user_login ) ) {
$user_login = ‘user’ . $unique_userID;
}if ( isset( $username ) && is_email( $username ) ) {
$user_email = $username;
}if ( ! isset( $user_password ) ) {
$user_password = UM()->validation()->generate( 8 );
}if ( ! isset( $user_email ) ) {
$site_url = @$_SERVER[‘SERVER_NAME’];
$user_email = ‘nobody’ . $unique_userID . ‘@’ . $site_url;Does anyone have an idea ??
Thank you ??Lucile
- The topic ‘“[email protected]” wrong email after registration’ is closed to new replies.