Ah, ok. That makes more sense. We have taken over maintenance of this site. Previous devs must have done something that isn’t going to work going forward. Thanks, i’ll go have a dig.
Not to worry worked it out.
bp_displayed_user_id()
incase anyone else needs it.