Posted: March 13, 2018 at 7:45 pm
Upgraded our site to the latest version of EE last Friday, along with the related plugins. Today we experienced a new error on our site that I haven’t come across before.
A customer emailed us saying he encountered an error after making his payment and couldn’t finalise his purchase. Looking at the registrations his booking was marked as abandoned, but the payment was in our account so I manually approved the registration. However, his confirmation emails won’t generate, nor do they appear in the message queue as failed.
Here is the error we have in our logs from his booking:
Any ideas what might have caused this error to occur?
This isn’t actually an email bug, although the error shows
I’ve created a ticket for the MailChimp add-on to confirm it has an object before running functions on it (as you can see above it actually does this right after the above function call, but its too late for that one method above).
However… if you have a registration, you should have an attendee assigned to it at that specific point in the code so this may be a symptom of another problem, do you have caching enabled on the site?
If they wont generate, what do that show as?
If the registration does not have an attendee object assigned to it that would explain why the messages aren’t generating.
If you go to Event Espresso -> Registrations and find this users registration there, can you see their contact details listed there?
G’day Tony, thanks for the feedback. We don’t have caching on the site currently, we’ve opted for Cloudflare instead to take load off the site, though we’ve had that running for about a year or two now and haven’t had an issue.
For the messages, they don’t seem to show anything. Clicking the resend button just reloads the page, searching the message queue shows up nothing, and there’s nothing in the error log.
The contact details do show up, and I’ve had a look in the database at both the attendee (post) entry, the attendee meta and the registration, all of them seem fine as far as I can see, at least in comparison to other entries.
I think for now I’m going to chalk this up to just some gremlin in the setup, as it seems to be a one off. Will let you know though if it happens again.
Strange, please do let us know if this comes up again.
With regards to the messages currently sitting in the queue that wont generate, I’d recommend deleting those as EE may continue attempting to generate them on each batch of the message queue, although it really does depend on what status they are sitting on right now.