Posted: December 25, 2019 at 8:49 pm
Having a bunch of errors in the past couple of days. Getting 2 in particular: 1. an error generated for a wait list email 2. Error for payment notifications I have set generating “on the same request” – but the EE_Messages_REG_incoming_data is still being thrown. Happening every 5 minutes. What should I do? |
|
The errors you saw can happen if the data used to generate the messages is no longer valid, which can happen if there’s a PHP fatal error during a batch process. You’ll need to first delete the current messages queued for generation. Then after that it’s OK to change the setting Event Espresso -> Messages -> Settings and set ‘Generate and send messages’ to ‘On same request’ Then if possible you can check the site’s PHP error logs for any fatal errors when the earlier messages failed to generate. |
|
Thx. Turns out the message was in the queue to be generated and before it could be generated the data was deleted. Then it got caught in an endless loop of attempting to generate data that didn’t exist and created about 200 bad messages. |
|
Hmm, that’s odd. Did you see any errors in the logs that may hint as to why the data was deleted? I’m going to do some digging into this to see if we can bulletproof the above further. |
|
Sorry was unclear… turns out the user deleted the data. So basically: person signs up for waitlist, admin queues the waitlist notice to be generated – but hears back that he/she isn’t signing up before the email is generated. So the admin then deletes waitlist entry and the plugin goes into an endless loop trying to generate an email for data that doesn’t exist. |
|
Ahhh ok, that makes sense now thank you. I’ve created a ticket to investigate this further and see what we can do, I think it makes more sense for the above error to simply mark the email as failed and move on. |
|
The support post ‘Messages failing to generate?’ 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.