BP FBconnect "Missing argument 5 for fbc_get_avatar()"
-
Hi!
I just installed BPFB connect and it seems to be working. But under discussion settings a get a warning (five times) that says “Warning: Missing argument 5 for fbc_get_avatar() in /home/faceblog/public_html/se/wp-content/plugins/bp-fbconnect/includes/wp-facebookconnect/fbconnect.php on line 529”
Line 529 (and below) in that file reads
function fbc_get_avatar($avatar, $id_or_email, $dims, $size, $default) {
if (!is_object($id_or_email)) {
return $avatar;
}
if ($fbuid = fbc_get_fbuid($id_or_email->user_id)) {
return render_fb_profile_pic($fbuid, $dims, $size);
} else {
return $avatar;
}
}Has anyone seen this before? Does anyone know have to fix it?
/Jes
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘BP FBconnect "Missing argument 5 for fbc_get_avatar()"’ is closed to new replies.