I´ve used Amelia for a while, and it worked fine. Now I had someone do Speed Optimization for my site (he imported plugins like Optimole and Smush), and upgraded from PHP 7.3 to PHP 7.4. For some reason the Cron job dissappeared. I reinserted it, yet still no Next day reminders. Is it possible the update changed something on the site so the admin-ajax functionality is damaged? I have the programmer roll back the site to before the changes, but just wanted to ask if there might be a general problem or it might only be my site, or if there is a known issue.
Amelia is compatible with PHP 8, so there are no issues with this. I don't know why the cron is missing, but that question needs to be forwarded to WP Crontrol's support team.
Everything should work exactly as it was working before. Please try deleting cache on your website, and restarting the server once again.
I actually checked with my ISP, and I can change the Cron Job over my webinterface with them, so directly on the server. I made sure I would get an email notice once the next job would be done, and really, a few minutes later I got it:
So it seems the Cron Job is working, but the Amelia mails still don´t go out??!!
I tried now for a couple of days, turned all possible plugins off and on, but to no avail.
Is there anything that I can check? I can´t really reboot the servers or anything, since my Provider sits in Germany far away from me and has different users on each server, I believe.
If you receive that response, you're correct, and the cron does work.
What recurrence did you set? My advice is to have it set to 15 minutes, so the cron runs every 15 minutes, but if that doesn't solve the issue, it could be due to something on your server blocking the cron from being sent automatically. It's good that when triggered manually, it works, but it should also work automatically, and that's out of Amelia if it doesn't.
I set the cron for 15 minutes, of course, and the email was coming every 15 minutes. I guess that means that the cron is working automatically.
I followed the instructions (and the very good explanation on one of the former TMS tickets) to the jotta.
The only other reason I can think of is a conflict with one of my plugins, but this is nearly impossible to find. I deactivated nearly all of them and retried to set time, wait, but nothing was coming through...
I can take a look at your website, Amin, but I can't promise anything.
Please provide me a temporary wp-admin (administrator) user, so I can take a look. Remember that this is a public ticket, so make sure to enable the PRIVATE response.
well... I´ve been using the last days to try out a lot of things. I know the Cron Job is working, also the Event Reminders go out fine.
With the Appointment reminders, they seem to work only sometimes. Possibly it is somehow connected to the employee notification, but I have to retest that (it seems only to work if I have the employee notified as well, but not confirmed yet).
In particular when I tried again today, it worked out the first time. I rescheduled the notification time for later to retry, and it didn´t work that time. Is there a function that prevents last day reminders to go out more than once for the same appointment on a given day? That would explain that part.
2 days later:
I tried several times again. The next day reminder for the employee goes out fine. Event reminders stand. Just the reminder for the client itself doesn´t seem to work.
Thanks again for looking into this, I don´t even know where to look?!
Scheduled notifications are sent around the defined time in Amelia Notifications/Appointment Next Day Reminder (for example). In the top right corner, you configure the time when the notification is supposed to be sent, and the plugin checks if there are upcoming appointments customers and employees need to be reminded of.
So, if the reminder notification is already sent, and you reschedule the appointment for the same day, but another time - you will not receive another reminder. You will, however, receive the "Appointment rescheduled" notification (if you enabled it). If you reschedule for a different day, a reminder will be sent one day before the appointment.
It works the same for employees and customers, so if your employees are receiving the email reminder, so should customers if you enabled that notification.
sorry, I was busy the last days playing around with de- and reactivating plugins to find out if there is a conflict somewhere.
Your explanation as self-evident for me, however, I am (each day) moving appointments and events to the following day (once a day), and then put the notifications e.g. at 11.00 - if that´s not working, I deactivate or change a plugin, and put it for 11.15, then again, for 11.30, and so on. That´s what I meant. I should still get the notification at the new times for the event the following day, right?
I also might not have gotten a "normal" email about registration for an event yesterday, so it seems to become a "hit and miss" with any kind of email. Sometimes they go out, others not. Bit still testing.
Just to ask again:
1) The way I change notifications like explained above should work for the next day reminder, right?
2) Do you know of any conflicts with WP Rocket, Optimole or other Caching related plugins? I am speculating it has something to do with the Cache, but not sure.
UPDATE: 14. April
I seem to also have problems with Next Day Reminders of Events now. However, the appointment follow-ups are working for the Event, so it is not the cron that is at fault...
I too am having this same problem, the Next Day reminders are not going out to "Customers" (while they are going out to "Employees"). All other cron notifications are working just fine.
Cron cannot work selectively. As you can see, all scheduled notifications are triggered with the same cron, so if one works, they all should work. You need to check with your hosting provider if there are any blocks in place. Also, check if the emails are going into SPAM.
1. If you're moving an appointment from today to tomorrow after the time set up for the reminder notification to be sent, it most likely won't be sent. If you move them before the time defined, they will be sent.
2. Caching plugins can have an impact on Amelia, WP Rocket included but they shouldn't be affecting the notifications in any way.
I tried logging into your website with the credentials previously provided, but I couldn't. Can you please check them again, and let me know?
Note that this is a public ticket, so make sure to enable the PRIVATE response.
SCI, if you can't resolve the issue with your hosting provider, please open a new private ticket, and we'll gladly take a look at your website as well.
Thank you for going through these troubleshooting steps. I certainly hope that the issue has been resolved, but if something happens in the next few days, please let me know
I'm sorry to hear it doesn't work. I logged into your website, downloaded the duplicator files and forwarded them to our developers for checking.
When they're done, I will let you know, but please note that if we do manage to make it work on a local installation, the issue is related to your server.
When this is tested locally, it works just fine, so the issue is probably with the cron on your server or some settings on the server that are blocking the cron.
Unfortunately, there's nothing we can do about this issue, as there is nothing in Amelia that could make it work. The URL from the Scheduled notifications is the only thing that needs to be added in order for the scheduled notifications to work.
My German is a bit rusty, but I believe I understood correctly (I did not have to use Google Translate but did that anyway, so turns out I did understand their response correctly).
The thing is that all scheduled notifications work based on a single command and if that command is triggering some notifications (like reminders), it should trigger all notifications (follow-ups). It's not logical that it functions selectively.
Tell me, how are did you add the cron, through the server or via Crontrol? Either way, could you switch? If you're using Crontrol, try using one of the commands below on the server:
GET 'https://yourdomain.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send' > /dev/null
Also, could you try changing SMTP and use one of your Gmail accounts? Just make sure to enable "Allow less secure apps" in your Google Account. Test with another account, maybe there's something on the mailing provider's side that's blocking this.
Dear Sirs,
I´ve used Amelia for a while, and it worked fine. Now I had someone do Speed Optimization for my site (he imported plugins like Optimole and Smush), and upgraded from PHP 7.3 to PHP 7.4. For some reason the Cron job dissappeared. I reinserted it, yet still no Next day reminders. Is it possible the update changed something on the site so the admin-ajax functionality is damaged? I have the programmer roll back the site to before the changes, but just wanted to ask if there might be a general problem or it might only be my site, or if there is a known issue.
Thank you for letting me know what you think!
Hello Amin
Amelia is compatible with PHP 8, so there are no issues with this. I don't know why the cron is missing, but that question needs to be forwarded to WP Crontrol's support team.
Everything should work exactly as it was working before. Please try deleting cache on your website, and restarting the server once again.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hallo Alexsandar,
thank you so much for your answer.
I actually checked with my ISP, and I can change the Cron Job over my webinterface with them, so directly on the server. I made sure I would get an email notice once the next job would be done, and really, a few minutes later I got it:
{"message":"Scheduled email notifications successfully sent","data":null}
So it seems the Cron Job is working, but the Amelia mails still don´t go out??!!
I tried now for a couple of days, turned all possible plugins off and on, but to no avail.
Is there anything that I can check? I can´t really reboot the servers or anything, since my Provider sits in Germany far away from me and has different users on each server, I believe.
Hi again Amin
If you receive that response, you're correct, and the cron does work.
What recurrence did you set? My advice is to have it set to 15 minutes, so the cron runs every 15 minutes, but if that doesn't solve the issue, it could be due to something on your server blocking the cron from being sent automatically. It's good that when triggered manually, it works, but it should also work automatically, and that's out of Amelia if it doesn't.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi again Alexsandar,
thank you so much for your support.
I set the cron for 15 minutes, of course, and the email was coming every 15 minutes. I guess that means that the cron is working automatically.
I followed the instructions (and the very good explanation on one of the former TMS tickets) to the jotta.
The only other reason I can think of is a conflict with one of my plugins, but this is nearly impossible to find. I deactivated nearly all of them and retried to set time, wait, but nothing was coming through...
I can take a look at your website, Amin, but I can't promise anything.
Please provide me a temporary wp-admin (administrator) user, so I can take a look. Remember that this is a public ticket, so make sure to enable the PRIVATE response.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Dear Aleksandar,
well... I´ve been using the last days to try out a lot of things. I know the Cron Job is working, also the Event Reminders go out fine.
With the Appointment reminders, they seem to work only sometimes. Possibly it is somehow connected to the employee notification, but I have to retest that (it seems only to work if I have the employee notified as well, but not confirmed yet).
In particular when I tried again today, it worked out the first time. I rescheduled the notification time for later to retry, and it didn´t work that time. Is there a function that prevents last day reminders to go out more than once for the same appointment on a given day? That would explain that part.
2 days later:
I tried several times again. The next day reminder for the employee goes out fine. Event reminders stand. Just the reminder for the client itself doesn´t seem to work.
Thanks again for looking into this, I don´t even know where to look?!
Amin
Hi again Amin.
Scheduled notifications are sent around the defined time in Amelia Notifications/Appointment Next Day Reminder (for example). In the top right corner, you configure the time when the notification is supposed to be sent, and the plugin checks if there are upcoming appointments customers and employees need to be reminded of.
So, if the reminder notification is already sent, and you reschedule the appointment for the same day, but another time - you will not receive another reminder. You will, however, receive the "Appointment rescheduled" notification (if you enabled it). If you reschedule for a different day, a reminder will be sent one day before the appointment.
It works the same for employees and customers, so if your employees are receiving the email reminder, so should customers if you enabled that notification.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Dear Aleksandar,
sorry, I was busy the last days playing around with de- and reactivating plugins to find out if there is a conflict somewhere.
Your explanation as self-evident for me, however, I am (each day) moving appointments and events to the following day (once a day), and then put the notifications e.g. at 11.00 - if that´s not working, I deactivate or change a plugin, and put it for 11.15, then again, for 11.30, and so on. That´s what I meant. I should still get the notification at the new times for the event the following day, right?
I also might not have gotten a "normal" email about registration for an event yesterday, so it seems to become a "hit and miss" with any kind of email. Sometimes they go out, others not. Bit still testing.
Just to ask again:
1) The way I change notifications like explained above should work for the next day reminder, right?
2) Do you know of any conflicts with WP Rocket, Optimole or other Caching related plugins? I am speculating it has something to do with the Cache, but not sure.
UPDATE: 14. April
I seem to also have problems with Next Day Reminders of Events now. However, the appointment follow-ups are working for the Event, so it is not the cron that is at fault...
Thank you!
A quite desperate Amin
Hello,
I too am having this same problem, the Next Day reminders are not going out to "Customers" (while they are going out to "Employees"). All other cron notifications are working just fine.
How to fix?
Thank you,
Hello Amin, and SCI
Cron cannot work selectively. As you can see, all scheduled notifications are triggered with the same cron, so if one works, they all should work. You need to check with your hosting provider if there are any blocks in place. Also, check if the emails are going into SPAM.
1. If you're moving an appointment from today to tomorrow after the time set up for the reminder notification to be sent, it most likely won't be sent. If you move them before the time defined, they will be sent.
2. Caching plugins can have an impact on Amelia, WP Rocket included but they shouldn't be affecting the notifications in any way.
I tried logging into your website with the credentials previously provided, but I couldn't. Can you please check them again, and let me know?
Note that this is a public ticket, so make sure to enable the PRIVATE response.
SCI, if you can't resolve the issue with your hosting provider, please open a new private ticket, and we'll gladly take a look at your website as well.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Of course it is, Amin.
Thank you for going through these troubleshooting steps. I certainly hope that the issue has been resolved, but if something happens in the next few days, please let me know
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hello again Amin
I'm sorry to hear it doesn't work. I logged into your website, downloaded the duplicator files and forwarded them to our developers for checking.
When they're done, I will let you know, but please note that if we do manage to make it work on a local installation, the issue is related to your server.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi again Amin
When this is tested locally, it works just fine, so the issue is probably with the cron on your server or some settings on the server that are blocking the cron.
Unfortunately, there's nothing we can do about this issue, as there is nothing in Amelia that could make it work. The URL from the Scheduled notifications is the only thing that needs to be added in order for the scheduled notifications to work.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi again Amin
My German is a bit rusty, but I believe I understood correctly (I did not have to use Google Translate but did that anyway, so turns out I did understand their response correctly).
The thing is that all scheduled notifications work based on a single command and if that command is triggering some notifications (like reminders), it should trigger all notifications (follow-ups). It's not logical that it functions selectively.
Tell me, how are did you add the cron, through the server or via Crontrol? Either way, could you switch? If you're using Crontrol, try using one of the commands below on the server:
*/15 * * * * wget -q -O - "https://www.yourwebsite.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send"
Or this:
*/15 * * * * /usr/local/bin/php ~/public_html/wp-cron.php --action='wpamelia_api' --call='/notifications/scheduled/send'
Or this:
GET 'https://yourdomain.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send' > /dev/null
Also, could you try changing SMTP and use one of your Gmail accounts? Just make sure to enable "Allow less secure apps" in your Google Account. Test with another account, maybe there's something on the mailing provider's side that's blocking this.
Please let me know how those tests go.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables