Support » Plugin: WordPress Social Login » Report: get_currentuserinfo is deprecated since version 4.5.0

  • Hello

    I found deprecated function ‘function wsl_process_login()’ in: wp-content\plugins\wordpress-social-login\includes\services\wsl.authentication.php -> function wsl_process_login()

Viewing 1 replies (of 1 total)
  • Hello realmag777

    To solve this problem you have two roads.

    One is to change this
    define('WP_DEBUG', true);
    in this
    define('WP_DEBUG', false);
    in wp_confing.php

    Otherwise a temporary solution to what Miled will not solve the problem ..

    1) open the file plugins/wordpress-social-loginincludes/services/wsl.authentication.php

    Go to line 99 and replace
    get_currentuserinfo();
    with
    $current_user = wp_get_current_user();

Viewing 1 replies (of 1 total)
  • The topic ‘Report: get_currentuserinfo is deprecated since version 4.5.0’ is closed to new replies.