Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Group Blog Error


study
Participant

@study

I am getting the same error msg, but it is returned when trying to upload any kind of avatar:

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

Line 281 is:

$bp->avatar_admin->image->url = str_replace( WP_CONTENT_DIR, BP_AVATAR_URL, $bp->avatar_admin->image->dir );

I had previously had trouble with avatar uploads and found the advice on changing the small code segment “if ( !$path = get_option( …”

That worked sort of — couldn’t get avatars to align without forcing some things into the various loop php files — but now I can’t get any files uploaded.

The change is that I installed the newest beta of WP 3.0 so I don’t know if this new “catchable error” report is of any assistance at all.

I had found some similar references, not specifically to BP and avatars, but people having problems uploading files into posts and I recall some references made to ms-sites.php.

I have only one site, the base site, build is configured to use folders not subdomains, and I am seeing lots of problems with pathing to the elusive uploads directory.

I do know that I was not getting a BP-related error until I upgraded my install from MU 2.92 to Beta 3.0.

Skip to toolbar