WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. dependent
    Member
    Posted 1 year 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. Charlie Merland
    Member
    Posted 1 year 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 = '') {

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic