Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 14 years ago

#1184 closed defect (bug) (fixed)

Error when trying to upload avatar

Reported by: whey's profile whey Owned by:
Milestone: 1.5 Priority: major
Severity: Version:
Component: Core Keywords: fatal error, avatar error
Cc:

Description

We are getting an error when trying to upload/change avatar. After a user clicks upload they are then returned to a error page stating:

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

Any ideas?

Change History (12)

#1 @apeatling
15 years ago

Make sure the wp-content/blogs.dir and containing folders have write permissions.

#2 @apeatling
15 years ago

  • Resolution set to worksforme
  • Status changed from new to closed

#3 @whey
15 years ago

still getting the same error after i modified the folder.

any suggestions?

#4 @whey
15 years ago

  • Resolution worksforme deleted
  • Status changed from closed to reopened

#5 @johnjamesjacoby
15 years ago

@whey, are you able to upload images within WordPress?

#6 @apeatling
15 years ago

  • Milestone set to 1.2

Regardless, the WP_Error needs to be fixed.

#7 @johnjamesjacoby
15 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [2124]) Fixes #1184

#8 @delayedinsanity
14 years ago

  • Component set to Core

It seems that this patch was never applied? It's not part of 1.2.3

#9 @grimbog
14 years ago

  • Milestone changed from 1.2 to 1.3
  • Resolution fixed deleted
  • Status changed from closed to reopened

I'm reopening this for the latest 1.3-bleed.

Upon uploading any images for a group, this message pops up:

Catchable fatal error: Object of class WP_Error could not be converted to string in \htdocs\site\wp-content\plugins\buddypress\bp-core\bp-core-avatars.php on line 292

Its running on localhost, and folder permissions are correct.

#10 follow-up: @DJPaul
14 years ago

If you're running trunk, it's several versions behind the 1.2 branch, and so errors and inconsistencies between the current release version are to be expected.

#11 in reply to: ↑ 10 @grimbog
14 years ago

Replying to DJPaul:

If you're running trunk, it's several versions behind the 1.2 branch, and so errors and inconsistencies between the current release version are to be expected.

Ahh thanks DJPaul... should have realised that was the case!

#12 @boonebgorges
14 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [3427]) Checks for WP_Error on avatar upload fail. Reapplies r2124. Fixes #1184

Note: See TracTickets for help on using tickets.