Re: Avatar upload problems just for admins
I am having the same issue, but normal users can not upload either, when I recieve the following error “Catchable fatal error: Object of class WP_Error could not be converted to string in C:Webspacepack119.netwwwwp-contentpluginsbuddypressbp-corebp-core-avatars.php on line 292” when I go to upload an image. I have WordPress 3.0-beta2-14729 and Buddypress 1.2.3 revision 3015
Line 292
$bp->avatar_admin->image->url = str_replace( WP_CONTENT_DIR, BP_AVATAR_URL, $bp->avatar_admin->image->dir );