Forum Replies Created

Viewing 1 replies (of 1 total)
  • go to
    /wp-content/plugins/buddypress-groups-extras/bpge.php
    and on line 106

    change

    if ( $bp->current_component == bp_get_groups_root_slug() && $bp->is_single_item && in_array($bp->groups->current_group->id, $bpge['groups'])){

    to

    if ( $bp->current_component == bp_get_groups_root_slug() && $bp->is_single_item && in_array($bp->groups->current_group->id, (array)$bpge['groups'])){

    this worked for me and STILL allows you to use private & hidden groups.
    ( my fix forces in_array to recognize $bpge[‘group’] as an array and not complain that it cant determine the data type )

Viewing 1 replies (of 1 total)