Posted: May 16, 2018 at 3:18 pm
For a couple weeks now our client has reported customers calling not getting their registration or payment confirmations. They also report the office is not getting the registration confirmation email either.
But we can see there are some people getting emails so it’s not broken just certain registrations?
We use Sendgrid via API for this site and I can confirm the emails are not getting to SendGrid …. but some are. So it’s not an SMTP or email provider problem.
I’m trying to put my finger on why some are being sent and others are not?
I found this in our error log and hope it helps:
[16-May-2018 21:11:54 UTC] —————————————————————————————-
The “Incoming data for the Gateways data handler must have an EE_Transaction object as the value for the first array index” error can be avoided by going to Event Espresso > Messages > Message Settings and set the the option for emails to be sent on the same request.
I see on the messages page there are 377 messages “Queued for Generating”
Searching the forums it talks about Cron jobs but we have a dedicated server running ServerPilot.
I don’t see any cron jobs in the list so why did this stop processing?
Is there a cron I should/could add to see if that solves the problem?
It uses WP Cron rather than actual cron jobs, so if you are checking for cron jobs on the server you wont find any for EE.
However the error Josh mentioend above:
Is usually caused by some kind of garbage collection on the server running at just the right time to clear out the transients that were used by the messages system, which then breaks the messages in the queue.
If you go Event Espresso > Messages > Message Settings and set the the option for emails to be sent on the same request it will prevent that from happening again as the messages are no longer queued and send immediately.
However that will not fix the broken events in the queue, those will need to removed and retriggered from within EE.
Ok I changed it to Same Request and the queue is not growing.
I’ve gone into the queue and choose 50 and clicked process and send
I then get this error:
I was able to process the first 100 or so but these are giving an error.
I’m not overly concerned about these as they are from a few days ago and I know after a class sold out the client downloads the registration info to manage offline and deletes the class registrations so this could be the problem.
But I wanted to share if it’s something else.
Yeah that could be a problem caused by deleting the associated registrations.