Posted: June 22, 2021 at 9:22 am
|
Hi, Emails aren’t going out, they are set to go via cron..and they are always stuck in the queue or they fail but never get delivered. We’re also getting a critical error message whenever trying to send the email manually. We are also noticing this query error in error_log:
There is no table named Can you please help make this work, the error removed, and emails working? |
|
This reply has been marked as private. |
|
Alos wanted to add one more thing on changing the option “On same request” the registration stops working. Get this error “Regosteratin could not be completed. Try refreshing the page”. |
Hi there,
How long do emails get ‘stuck in the queue’ for? Te message queue uses WP_CRON and sets schedule of 5 mins for each of the tasks. It can take longer than 5 mins for the task to trigger as WP_CRON relies on page hits to load and check for tasks, so low traffic sites or a site that has longer gaps between visits can take longer. However, the fact that you’ve switched to on same request and get the above error means there is another error being thrown which needs to be fixed first. When you test with the above option and get the “Regosteratin could not be completed. Try refreshing the page” error, what is logged in the error logs? There will usually be a fatal error being thrown and the above is EE catch all to show users there is an issue.
That’s an odd error and I’ve asked one of our developers for some feedback on this, I’ll come ack to that shortly. |
|
|
This reply has been marked as private. |
I can’t fix it until I know the problem. You mentioned they are not delivered, but does that mean they tried to send and then failed, or that sat in the queue and still show ‘Queued for generation’? What language is the site set to use? Can you link me to an EE test event I can register on to view this? |
|
Are you comfortable with PHP? If so, add this on the site:
What does it output? In your site’s |
|
|
This reply has been marked as private. |
The table name is really strange and I think we’ll need to add some debug code to the site to investigate further, however, that shouldn’t be causing the issue you are reporting with the emails. Is there no other error in the logs? For example, if you set the message queue to send on the same request, then test another registration so that it shows the “Regosteratin could not be completed. Try refreshing the page” error again, then immediately check the error logs, is there no other error other than the one you’ve already posted? (Note remember to set the setting back once you’ve tested this) |
|
The support post ‘Emails not working’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.