Re: bp_has_members returns ”no members found” on profile pages.
I’m having the same problem. I was able to fix the problem in order to display site-wide groups in the footer of a profile page, but it did not work for displaying members. Below is the code that worked to show groups:
`<?php $args = array(
‘type’ => ‘random’,
‘user_id’ => ‘false’
if ( bp_has_groups( $args) ) : ?>` …
The codex says you can set user_id to “false”, but it hasn’t worked for me. If the profile you are viewing has no friend connections, no members appear?