Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of Hugo

Avatar upload problems just for admins (2 posts)

Started 2 years ago by: jon

  • Profile picture of jon jon said 2 years ago:

    normal users have no problem trying to upload an avatar, but when i try on my admin account i get this error:

    Catchable fatal error: Object of class WP_Error could not be converted to string in /home1/isociale/public_html/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 281

    Anyone know how to fix this?

  • Profile picture of Kelly Brindle kbrindle2002 said 2 years ago:

    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 );