-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HOW DO I STOP CRAZY PLUGIN FROM SENDING 1 notification a billion times? #16
Comments
I've barely managed to stop it from sending by rebooting server, and now it started sending different notification that I've not even scheduled or sent through post. Maybe I've sent it a week ago, but I can't tell, because there's no list of previously sent notifications, and I can't see processes and terminate them... |
More than 200 active users using this plugin no one reported this problem even i tested all scheduled options, i am not sure what kind of configuration, it might be due to firebase configuration if you use same configuration in more than one site then you will get more than one same notification, for every site firebase project configuration and firebase project should be different. Without understanding firebase configuration and firebase knowledge it is difficult for me to explain, please read firebase documentation for httpv1 version configuration as well as for legacy configuration. It is most likely you used same configuration project id for more than one site whether it is test or live configuration should be different. Plugin will work based on action scheduler and there is no use in blaming me for this, please read firebase documentation, without understanding firebase knowledge, it is difficult for me to explain everything about firebase to you. This plugin is designed based on Firebase not by my own push notification |
One of user is able to process push notification with more than 90000 customers and did not faced these kind of duplication notifications, https://wordpress.org/support/topic/the-last-update-1-85-skyrocketed-the-number-of-mysql-queries/#post-17694706 |
I think before some weeks, you asked for help on this site https://brzikolaci.com/ and test version of this site created and then now you push notifications are showing some other site name, i think you are using same project credentials for various sites and enabled scheduled, due to which firebase got confused because firebase tokens for your various websites are stored in same firebase project id ...it is mis configuration of firebase credentials across different website that is why i am telling to understand about Firebase push notification there is no need to blame me or this plugin. It is working on WordPress scheduler it will not repeat once it is cancelled but firebase tokens created for your various sites are under your single firebase project id that is the problem if you use httpv1 version then it is based on group notification it will assume all firebase tokens from your various sites are same and it will send it to particular project groups which are subscribed by your various sites which are using same credentials. |
Scheduling for post is done by plugin by cancelling previous schedule and it will schedule new one. It is only one piece of code there is no other place it is scheduled for post/custom post types. I recommend to do settings from scratch when you do it for a website and avoid copying database records containing settings from one site to another site. Push notifications list tab is only for one time push notification not for post/custom/buddypress notifications. If you send one time push notifications (under one time push tab), it will be listed there and it can also be resend... For other notifications that feature is not available because some users are sending more notifications using post/buddypress then db will be overloaded if we are storing all notifcations which are sent for post/buddypress(as you know social media buddypress is like chat we cannot store all notifications)...may be i will add this in future by adding a new option to opt user for store post/buddypress notifications. At present push notification list tab is only for one time push notifications. You can also send one time push notification with link to post, custom text, image (like for promo or promo banners) and it will be listed in push notification list. I recommend to do settings from scratch when you do it for a website and avoid copying database records containing settings from one site to another site. Since firebase tokens are generated automatically when it is subscribed no need to copy tokens if we copy tokens then it will create duplicate because token generation will vary for every website. my email id is [email protected] , i will be available on Monday afterwards, once you send me email i will try to look into your request on monday or afterwards and i will inform you whatsapp number. i request do not copy settings or tokens from one site to another because firebase tokens are stored in both in wordpress database as well as in firebase server and using these tokens notifications are sent by Firebase not by this plugin, this plugin calls firebase api to send notifications. So if firebase tokens are generated in one site and if that token is copied to another site along with settings then it will regenerate token again ....so for the new site/when you move to another site , it is better to do settings from scratch as tokens are automatically generated when user is already subscribed. I have also subscribed to https://brzikolaci.com/ before 2 weeks itself and i got notification today as show below from your site,i will be available on Monday afterwards, once you send me email i will try to look into your request on monday or afterwards and i will inform you whatsapp number. |
I had the same idea, to create new Firebase project from scratch and redo everything. I've done this several hours ago, because there's least amount of users on my website at that time, so I can live test the setup. It seems everything is normal now, I've subscribed with 3 browsers, and one on my phone, I've sent few notifications and received everything as it should be.. Yes, I removed the plugin, and all tokens and everything gets removed from database (except customized text, it stays in DB table even if plugin is removed) I have to notice that I did exactly the same thing like I did the first time. I've experimented with brzikolaci.com and set up everything properly, and you can see for yourself that it is sending only one notification as it should. That means setup is correct. It never behaved like this. It is working even though I cannot properly define 'it works' and 'it doesn't work' because I don't know what is the problem and when it will pop up again. It's like queue got stuck in a loop every time I would send notification, and the only way to get out properly is to uninstall plugin, and redo installation all over again with different credentials. |
No luck. Happening again. It was working ok with 1000 subscribers. Didn't use it for two days. Now it is sending hundreds of notifications over and over. I've collected around 2500 subscribers. No idea what is going on. I've updated the post so it can send notifications, it was working and working for like 5 minutes, and then I got internal server error, and then notifications started blasting. I had to reboot my server and deactivate plugin. And for the record, brzikolaci.com is sending notifications normally so far, 1200 subscribers. Is there any PHP requirements/recommendations? |
It is sending one notification for the past 30 minutes, I've received it on all devices 500 times.I cannot stop it, I've tried server reboot.
OMG WHAT IS GOING ON????
The text was updated successfully, but these errors were encountered: