Skip to:

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#2508 closed defect (bug) (fixed)

Wrong format 'string' (should be 'simple') passed in bbp_format_buddypress_notifications()

Reported by: lakrisgubben's profile lakrisgubben Owned by:
Milestone: 2.5.3 Priority: normal
Severity: normal Version: trunk
Component: Extend - BuddyPress Keywords:


I had a problem where users where complaining about a notification that just said "array", seems to be when someone replies to a forum thread and when it is the buddybar that prints the notifications.

As far as I can tell this has to do with the function bbp_format_buddypress_notifications() that passes $format = 'string' on row
and checks for 'string' on row

But the BuddyPress function bp_notifications_get_notifications_for_user() ( ) expects $format to be 'simple'.

When I change 'string' to 'simple' it seems to work...

Change History (4)

#1 @johnjamesjacoby
10 years ago

  • Milestone changed from Awaiting Review to 2.5.3

Confirmed. Moving to 2.5.3.

#2 @johnjamesjacoby
10 years ago

Will need to be fixed in BuddyPress. Commits incoming.

#3 @johnjamesjacoby
10 years ago

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

Closing as fixed. Will be in a future BuddyPress release.

Note: See TracTickets for help on using tickets.