If you have imported the BuddyPress users from another source via CSV, SQL, or created a user from the admin dashboard then you will face this issue that member not showing on the member page until login. But if I logged in the user then it will show on the member page.
Let’s see how we can resolve this.
Note: Please first take a full backup of your database before making the changes.
You just have to add the below function in your functions.php OR bp-custom.php file and reload the browser window. You will see now all buddypress members showing on the page.
After that visit this path Tools > BuddyPress, you will see the “Repair total members count” checkbox. So check this and click on the Repair Item button.
Now you are done!
You will see now all BuddyPress members on the member page with an accurate count of members.
Being Tricky 😉