[buddypress-trac] [BuddyPress Trac] #7678: Getting Catchable fatal error

buddypress-trac noreply at wordpress.org
Tue Jan 30 22:59:31 UTC 2018


#7678: Getting Catchable fatal error
-------------------------------+------------------------------
 Reporter:  opie2k1            |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Extended Profile   |     Version:  2.9.2
 Severity:  major              |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------
Changes (by boonebgorges):

 * keywords:   => reporter-feedback
 * component:  Core => Extended Profile


Comment:

 Is it possible for you to provide a more complete stack trace? I'm
 guessing that the `$this->user_id` parameter is the `WP_Error` object
 https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-
 xprofile/classes/class-bp-xprofile-profiledata.php#L127; this might result
 in the Default Data plugin because it attempted to generate a user, but
 failed, and didn't catch its failure before attempting to add profile data
 for the new user.

 We could build some sort of failsafe to prevent this sort of fatal from
 happening, but I don't know if we'd want to. In this case, it's likely
 that the problem is a result of some incorrect logic or incomplete error
 checking in BP Default Data, and if we were to silently "fix" the error
 (by returning false or something) it would hide what could be a more
 serious bug for the plugin.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7678#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list