• Social login VKONTAKTE dont work

    WP_Error Object ( [errors] => Array ( [existing_user_email] => Array ( [0] => Извините, этот адрес e-mail уже используется! ) ) [error_data] => Array ( ) )
    Error Code 3: There was an error in registration. Please contact your administrator.

    Each new user tries to use the same field email.
    Always the same email(-@vkontakte.com)

    I use 7.2.7

    https://prntscr.com/q5kxl2

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author miniOrange

    (@cyberlord92)

    Hi,

    Thanks for reaching out to us.

    According to the WordPress guidelines,?we use a special function that removes special characters in the username and email which is not supported, Because of that, you are facing this issue. Can you please share your email id and the name of the VKontakte user so that I can look into the issue and send you an updated?plugin with the solution.

    Waiting?for your reply

    Thanks

    Thread Starter sdiesel

    (@sdiesel)

    We use different accounts.

    Some have mail.
    paulpanin.me@gmail.com
    https://vk.com/paul.panin

    Other do not have mail
    https://vk.com/artstasromanov

    But the plugin always fills this field in WP, as
    -@vkontakte.com

    Thread Starter sdiesel

    (@sdiesel)

    Another plugin fills this field for a user (https://vk.com/artstasromanov) without mail, as 307495691_anonymous@vk.com

    But I would like to use your product!
    Thank you!

    Plugin Author miniOrange

    (@cyberlord92)

    Hi,

    Thank you for reaching out to us.

    I’ve fixed this issue but I don’t have an exact environment like your website, so please get in touch with us from the plug-in support form or email us at the email address provided on our website, so I can provide you an updated plugin and test it.

    Thanks

    Thread Starter sdiesel

    (@sdiesel)

    I wrote through the form in the application.
    My email – alex.kimen@yandex.ru.
    My website – alexkimen.com(now closed for viewing).

    Thanks

    amnnms

    (@amnnms)

    I suppose, this is because in wordpress user email stored as _@vkontakte.com when no email submitted. When user has cyrillic name like “Анастасия Иванова” this field stored as _@vkontakte.com,
    when full name is “Anastasia Ivanova” this field stored as Anastasia_Ivanova@vkontakte.com

    amnnms

    (@amnnms)

    // in file /wp-content/plugins/miniorange-login-openid/mo-openid-social-login-functions.php in function mo_create_new_user
    we get data $user_val for non-latin names:
    Array
    (
        [username] => _
        [user_email] => 
        [user_full_name] => Анастасия О
        [first_name] => Анастасия
        [last_name] => О
        [user_url] => 
        [user_picture] => https://sun9-50.userapi.com/c855020/v855020743/178b63/ib51YOicL-c.jpg?ava=1
        [social_app_name] => vkontakte
        [social_user_id] => 570696924
    )
    
    

    username always _
    and user_email frequently can be not set by user
    then error occurs

    FIX: insert in /wp-content/plugins/miniorange-login-openid/mo-openid-social-login-functions.php in line ~307 after code $user_email = sanitize_email($email);

    
        if($appname=='vkontakte'){
    			if(empty($email)){
    				$email='id'.$social_user_id.'@vkontakte.com';
    				$user_email = sanitize_email($email);
    			}
    		}
    
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Vkontakte ERROR’ is closed to new replies.