Forums

WordPress Social Login
Missing argument 5 for wsl_user_custom_avatar() (2 posts)

  1. dependent
    Member
    Posted 8 months ago #

    After the Update I am getting the following Error:

    Warning: Missing argument 5 for wsl_user_custom_avatar() in [PATH TO SITE]/wp-content/plugins/wordpress-social-login/includes/plugin.ui.php on line 167

    http://wordpress.org/extend/plugins/wordpress-social-login/

  2. Askelon
    Member
    Posted 7 months ago #

    Not really an error, just a warning; you can solve this by putting a default value to the missing argument. Just edit /wp-content/plugins/wordpress-social-login/includes/plugin.ui.php, line 167 :

    function wsl_user_custom_avatar($avatar, $id_or_email, $size, $default, $alt) {

    now looks like:

    function wsl_user_custom_avatar($avatar, $id_or_email, $size, $default, $alt = '') {

Reply

You must log in to post.

About this Plugin

About this Topic