With the latest update, I receive the following warning, when I disable my avatars (or set them to local avatars only).
Warning: Missing argument 6 for wpdFormAttr\Login\SocialLogin::userAvatar() in /wp-content/plugins/wpdiscuz/forms/wpdFormAttr/Login/SocialLogin.php on line 427
Warning: Missing argument 6 for wpdFormAttr\Login\SocialLogin::userAvatar() in /wp-content/plugins/wpdiscuz/forms/wpdFormAttr/Login/SocialLogin.php on line 427
Sorry, wrong forum. Maybe this can be moved to the correct section? Thanks.
Hi janbpunkt,
This warning takes places as in your theme (or maybe in other plugins) there is the get_avatar function with 5 arguments instead of 6. When wpDiscuz try to use apply_filters('get_avatar',$avatar, $id_or_email, $size, $default, $alt, $args) filter, it cannot find the one of the argument. Please find where else is this function called and add missing the argument.
apply_filters('get_avatar',$avatar, $id_or_email, $size, $default, $alt, $args)
Hm.
It was working before I updated wpDiscuz with the same theme.
Will try to locate the call of the function and fix it.
Currently, I hide all warnings, which is not the solution, but a work-around.