Plugin not working with latest version of Buddypress

Plugin is not working on the latest version, but I tested it on previous versions of BP and it works fine. Please advise.