Skip to:

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#3189 closed defect (bug) (no action required)

Cannot update userprofile

Reported by: flemmingbjerke's profile flemmingbjerke Owned by:
Milestone: 1.5 Priority: normal
Severity: normal Version:
Component: Extended Profile Keywords: user profile
Cc: flemmingbjerke


When I try to update user profile, I got the following error:

Warning: trim() expects parameter 1 to be string, array given in /var/www/XXXX/wp-content/plugins/buddypress/bp-xprofile.php on line 717

Warning: Cannot modify header information - headers already sent by (output started at /var/www/XXXX/wp-content/plugins/buddypress/bp-xprofile.php:717) in /var/www/XXXX/wp-includes/pluggable.php on line 897

It happens when I set a checkbox or a multi select box in the "profile field setup", which gives an array. It is possible to add new members from a registration form including a checkbox field, but it comes to updating the profile, it fails.

I have disabled all plugins except multisite and buddypress. I use buddypress default theme. wp-3.1.2

Change History (4)

#1 @flemmingbjerke
13 years ago

  • Cc flemmingbjerke added
  • Keywords user profile added

#2 @DJPaul
13 years ago

It looks like this has already been fixed in our development version of BuddyPress. If you want to try to apply the development version's fix to your local copy; change /buddypress/bp-xprofile.php line 717 to this: (line 207)

#3 @DJPaul
13 years ago

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

Already fixed in trunk

#4 @johnjamesjacoby
13 years ago

  • Component changed from Core to XProfile
  • Milestone changed from Awaiting Review to 1.5
  • Severity set to normal

Moving closed ticket out of Awaiting Review.

Note: See TracTickets for help on using tickets.