[buddypress-trac] [BuddyPress Trac] #7060: discrepancy between Members and Groups Directories

buddypress-trac noreply at wordpress.org
Tue May 10 16:59:30 UTC 2016

#7060: discrepancy between Members and Groups Directories
 Reporter:  shanebp       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  API           |    Version:  2.5.0
 Severity:  normal        |   Keywords:
 Using BP 2.5.2

 Trying to add a custom tab and load a custom template on both the Members
 and Groups Directories.

 1. Groups Directory - Works as expected

 2. Members Directory
 Does not work as expected.

 The same approach is used for both Item 1 and Item 2 - with different

 In Item 1 - conditionals like '''bp_is_groups_component()''' return true
 But in Item 2 - conditionals like '''bp_is_members_component()''' return

 The custom Members template can be loaded by resorting to url parsing -
 see Gist - but this error is thrown:

 Notice: Trying to get property of non-object in .../wp-includes/query.php
 on line 4520

 What is the cause of this discrepancy between Groups and Members

 If not a bug - What is the solution?

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

More information about the buddypress-trac mailing list