Warning: in_array() expects parameter 2 to be array, null given in /plugins/buddypress/bp-core/bp-c

I installed Multisite Shared Menu and all works well on main domain and six of my seven sub-domains, but on my Dating Service, when a logged in member clicks on "Members" we get a list of about a dozen lines of the same warning:

Warning: in_array() expects parameter 2 to be array, null given in /plugins/buddypress/bp-core/bp-core-filters.php on line 199

See screenshot at the bottom of this ticket.

I am using WP 4.8, BP 2.8.2, GeneratePress Child Theme, but the issue is also there using Twenty-Sixteen.

I deleted and reinstalled BuddyPress plugin but it didn't help.

I have contacted support forums for Multisite Shared Menu plugin and for BuddyPress but am not getting any responses.

I have deactivated the Multisite Shared Menu plugin for now on the Dating sub-domain since this is an active website. I don't mind if you want to activate it for testing, but please don't leave it activated unless you can fix it.

Can you give me some idea of how I might fix this problem please.

Support Access is granted. Thank you!