[buddypress-trac] [BuddyPress] #3550: BP_Core_User fatal error when xprofile is disabled

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Sep 5 14:24:15 UTC 2011

#3550: BP_Core_User fatal error when xprofile is disabled
 Reporter:  boonebgorges  |      Owner:
     Type:  defect        |     Status:  new
 Priority:  major         |  Milestone:  1.5
Component:  Members       |    Version:
 Severity:  major         |   Keywords:
 In BP_Core_User::populate(), we attempt to populate some basic user data.
 Part of this includes checking bp_xprofile_fullname_field_name() so that
 we can fetch the user's full name, as stored in xprofile.

 However, when xprofile is disabled, not only is this check unnecessary (as
 we don't need the value of $full_name_field_name to populate the data),
 but a fatal error results, because bp_xprofile_fullname_field_name() does
 not exist.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3550>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list