[buddypress-trac] [BuddyPress] #5273: Error sending private messages in 1.9 Beta 2

buddypress-trac noreply at wordpress.org
Thu Dec 5 00:17:14 UTC 2013


#5273: Error sending private messages in 1.9 Beta 2
--------------------------+------------------------------
 Reporter:  henrywright   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Core          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by henrywright):

 Done some digging and found commenting out line {{{do_action_ref_array(
 'messages_message_sent', array( &$message ) );}}} of bp-messages-
 functions.php resolves the original problem so the route of the issue must
 be something hooked to {{{messages_message_sent}}}

 Now, {{{messages_notification_new_message()}}} and
 {{{bp_messages_message_sent_add_notification}}} are the two functions
 hooked to it so what inside those functions could be manipulating the
 $message object to cause it to not be an object?

 A {{{$message}}} variable is used inside
 {{{messages_notification_new_message()}}} - could that be overwriting the
 $message object?

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5273#comment:11>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list