Fri 19 Mar 2021 at 18:15 #62391
Mails are set to be queued. I then set the queue to send emails every 5 minutes. But I notice that this sending setting is lost regularly and the mails are stored without being sent. Do you have any idea what I can do? I don’t know if it’s a bug?
FrédéricFri 19 Mar 2021 at 18:28 #62392
“this sending setting is lost regularly and the mails are stored without being sent” ???
What do you mean exactly? I’ve been using sites with queueing all the time and never lost the queueing setting at all. EME never resets options either, only if the plugin is completely reinstalled. Is there a way to describe exactly what is happening? Reproducable?Fri 19 Mar 2021 at 18:38 #62393
The Mail queueing is activated. In the menu “schedule actions” the limit is set to 120 and the interval to five minutes. But one or days later when i check this setting it is set to “Not scheduled”. It seems to me my setting has been reset.Fri 19 Mar 2021 at 18:57 #62394
When I schedule a generic email to be sent every Wednesday during 4 weeks, is it possible that the setting is reset to “not squeduled” at that time? or if I cancel a previous plan? I will control that the next time i will schedule or cancel one. I can’t say it is reproducable now.Fri 19 Mar 2021 at 21:41 #62396
Well, I only clear the scheduled “eme_cron_send_queued” setting when either uninstalling the plugin or just before updating that setting (to be sure I don’t execute it multiple times).
You can verify the code (search for “wp_clear_scheduled_hook” and “eme_cron_send_queued”) if you’d like (I’m always open to code improvements too …).Fri 19 Mar 2021 at 21:57 #62397
Thank you. I’m not sure if my php skills allow me to see this clearly. I’ll look into it and especially watch if it happens again. Thanks again for the quick responses.Fri 19 Mar 2021 at 22:09 #62398
ok, next time try to pinpoint the exact setting (maybe it isn’t the schedule itself, but another setting)Sat 20 Mar 2021 at 11:16 #62400
This morning, without doing anything else, I check the setting of scheduled actions that I had set to “every five minutes” but the settings were back to “not scheduled”. Two further mails (confirmation of booking) were queued and should have been sent. I set again “every five minutes” and the two mails were sent. So I think there a little bug.Sat 20 Mar 2021 at 11:24 #62401
I also use your scheduling tip that informs a group of people that a new event has been scheduled. This was the case this morning and the mailing is immediate and worked very well. But could this change my settings?Sat 20 Mar 2021 at 14:27 #62402
Do you have any other plugins that might interact with scheduled actions? But more: if you haven’t changed anything, it is just impossible the setting gets reset …
To be sure: are you on the last version of both EME and WP?Sat 20 Mar 2021 at 14:36 #62404
Btw: you can install a plugin like “Advanced Cron Manager” or any cron plugin from WP to verify the current planned actions. You should see some entries starting with “eme_” in there.Sat 20 Mar 2021 at 14:38 #62405
I also use MailPoët and WP Mail Catcher. I check the web log of my provider. But i don’t know what I am looking for. Before it worked fine the pb is maybe for 2 ou 3 versions. I have the last versions for all WP and my plugins. I am looking for…Sat 20 Mar 2021 at 14:46 #62406
If EME gets disabled, then that setting goes to “unplanned” on the next reactivation. Can that be somehow the case? I’m pretty much in the dark here too, there is just no explanation for this (nor do I see this on any of the sites I manage).Sat 20 Mar 2021 at 14:48 #62407
No EME is never disabled. Would you have an admin access ?Sat 20 Mar 2021 at 15:56 #62408
Who could change the cron events programming except me and EME?Sat 20 Mar 2021 at 17:16 #62409
If EME gets deactivated/reactivated then this setting is also gone (next to other EME related schedules). The next version will fix that, but if that’ not the reason for you, then you need to go through your logs and try to find something. Maybe some plugin is deactivating EME temporary or so …?Sat 20 Mar 2021 at 20:11 #62410
I’ve updated the code a bit (not that it would explain your problem), but if it continues to happen: try updating to the dev version.Sun 21 Mar 2021 at 16:15 #62414
A little note to keep you informed. I haven’t had any new deprogramming since yesterday morning. I haven’t found the cause of my worries. I have unloaded two plugins that I was not using very much Yoast SEO and Schort Code Ultimate. I also deleted some CRON tasks without action. Some came back but not all. Maybe among them… ? unlikely.
In doubt I also worked on Asset CleanUp which allows me not to load JS and CSS files of some plugins when they are not used on the page.I was unloading these EME files on some pages while I had the EME calendar widget in the margin. This may be unrelated…
I removed the automatic update for EME…
Nothing very conclusive, I continue to monitor and of course I come back in case of recurrence. I have not yet installed the development version.
Good end of daySun 21 Mar 2021 at 16:23 #62415
All my sites have automatic updates enabled, and that shouldn’t pose any problem at all.
Maybe monitor the cron tasks and next time it goes to “unscheduled” check if any eme-related cron tasks still exist.Thu 25 Mar 2021 at 11:39 #62420
After 2 days without difficulties I encountered the same problem again. I had to choose the send setting again every 5 minutes. I didn’t think to check the CRON tasks before but afterwards here are the ones running:
I’ll install the development version to see if it improves the problem.
Have a nice day
FrédéricThu 25 Mar 2021 at 12:23 #62421
The dev is not needed, just the latest released version (was released some days ago).Thu 25 Mar 2021 at 13:11 #62422
I am uptodate
- You must be logged in to reply to this topic.