This is a repost from a previous ticket Mr Arlex Wong somewhat solved.
https://stackideas.com/forums/0-call-to-undefined-method-socialevent-getprofile
The display.php file Arlex uploaded for me to use did not work as requested - for some reason it did not pick up the if profile is about. I added a different if and it works but still breaks on the event page, Please find the edited file attached and see if we can get this to work correct.
The display view from line 69 - 107 should only be shown on About view of the profile - the default view after should be used for other pages