Hey, that warning usually just means the activity template is running without an actual activity item to work with, so PHP 8 flags it even though the page might still load fine. 🙂
It would help to know where you’re seeing it, like on the main activity page or somewhere custom, and which BuddyPress and WordPress versions you’re on. If it only shows up with a custom template or another plugin active, try switching to a default theme and turning the other plugins off for a quick test, then turn them back on one at a time and see when the warning comes back. That usually points straight at what’s calling the template the wrong way.