[buddypress-trac] [BuddyPress Trac] #6894: BP Messages - Causes PHP Error - Wrong call of a function
buddypress-trac
noreply at wordpress.org
Thu Feb 11 17:19:39 UTC 2016
#6894: BP Messages - Causes PHP Error - Wrong call of a function
-----------------------------------+--------------------
Reporter: Jon Ziemlich | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.4.4
Component: Component - Messaging | Version:
Severity: normal | Resolution:
Keywords: needs-patch |
-----------------------------------+--------------------
Comment (by boonebgorges):
See [10286].
It does appear that there's one situation where a failed message post may
result in `false` being returned: when `$message->send()` fails for a
miscellaneous reason (such as a database error) near the end of
`messages_new_message()`. @r-a-y we should probably do an `error_type`
check here, right? Can we write a test that triggers this kind of failure?
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6894#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list