Please fill all fields in push notification settings, Follow below steps for
Firebase configuration
Sign in to Firebase, then open your project, click settings icon & select Project settings
To get Firebase server key (for field 1 in admin firebase settings)
project settings > cloud messaging tab > get server key or add server key button to get server key
To get Firebase config fields (for fields 2 to 8 in admin firebase settings)
If you do not have web app, Create a new web app. After creating a new app, it will show firebase config fields
Project settings > General under your apps section > click on config button to view configuration fields
To get Firebase public key (for field 9 in admin firebase settings)
Open the Cloud Messaging tab of the Firebase console Settings pane and scroll to the Web configuration section
project settings > cloud messaging tab > Under web push certificates > Generate key pair to get public key
In the Web Push certificates tab, click Generate Key Pair. The console displays a notice that the key pair was generated, and displays the public key string and date added
(If you already Generated key pair then no need to generate it again)
After saving below fields, you will get browser prompt asking to allow notification for this website, click on allow notification
After completing above steps, push notification will work based on option selected for posts/buddypress
Before using this plugin please refer your firebase account and go through firebase manual how to configure it as mentioned above. In firebase console, under your app project settings, If you do not have web app, Create a new web app. After creating a new app, it will show firebase config fields including firebase database url and copy everything and fill it in admin settings.
Regarding array key exists error i will look into it and let you know