[buddypress-trac] [BuddyPress Trac] #5334: Getting warning "Creating default object from empty value when enabling extended profiles"

buddypress-trac noreply at wordpress.org
Mon Feb 24 13:21:48 UTC 2014


#5334: Getting warning "Creating default object from empty value when enabling
extended profiles"
--------------------------+--------------------
 Reporter:  clamoreaux    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  low           |   Milestone:
Component:  XProfile      |     Version:  1.9.1
 Severity:  minor         |  Resolution:
 Keywords:  needs-patch   |
--------------------------+--------------------
Changes (by templaries):

 * cc: templaries@… (added)
 * milestone:  2.0 =>


Comment:

 Is there any temporal solution for this?

 I added bp_has_members() before bp_member_profile_data() to fill the
 global variable "$members_template".


 {{{
 bp_has_members();
 bp_member_profile_data('field=MY EXTENDED FIELD');
 }}}

 But this is still showing the warning message.

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


More information about the buddypress-trac mailing list