Support

Home Forums Event Espresso Premium Messages stuck in queued for generating

Messages stuck in queued for generating

Posted: March 14, 2018 at 3:11 pm


TVNellingen

March 14, 2018 at 3:11 pm

Hi,
on our site http://www.sportcamps-ostfildern.de we have a problem with message not being generated.
Today we added payment informations manually (invoice payment) to about 300 transactions, but the messages are stuck queued for generating.
When I try to generate them by bulk action in the backend I get the following error message:

Incoming data for the Gateways data handler must have an EE_Transaction object as the value for the first array index. EE_Messages_Gateways_incoming_data – __construct – 51

I read about this problem, but setting the option on “generating on the same request” didn’t solve it.
Do I have to delete all the messages?
And is there any that they are easily created once again?

Thanks for your help!


Tony

  • Support Staff

March 15, 2018 at 6:59 am

Hi there,

I read about this problem, but setting the option on “generating on the same request” didn’t solve it.

That option will only solve the problem for messages triggered after that option was set.

Do I have to delete all the messages?

Yes, the messages will need to be removed.

However before doing so, what message types are they?

You can fairly easily regenerate the ‘Registration Approved’ messages, but not ‘Payment Received’ messages.

Do you know which specific version number of Event Espresso you had running on the site when this happened?


TVNellingen

March 15, 2018 at 8:39 am

Hi Tony,
thanks for the reply!
Most of the messages are Payment rechieved messages – unfortunally.
But they are the most important and urgent…
How can I get them sent?

About the version:
I updated yesterday (after the error occured) to 4.9.58. As we installed EE just recently I think the version before, where it happende, was 4.9.47…


Tony

  • Support Staff

March 16, 2018 at 3:44 pm

The problem with your messages is usually caused by caching on the server and garbage collection running a specific time just before the messages generate, in verion 4.9.58 we’ve added some additional code that should prevent that from happening.

The problem now is that the messages in the message queue are broken and need to be removed as EE can not generate those messages. So first, go to Event Espresso -> Messages -> Message Activity and clear the Payment Received messages that are waiting to generate. (Click the checkbox next to them or all message on the page and in the bulk dropdown select delete messages, then click apply).

Unfortunately as mentioned there’s easy method to regenerating the Payment Received messages, they will need to be manually triggered from within the admin one by one. To go this is very similar to how you applied the payment originally, only this time you find the transaction, open it up and edit the payment by clicking the Pencil icon for the payment – http://take.ms/WGdDr

Now on the edit payment screen, where it has ‘Send related messages’ make sure ‘Payment messages’ are checked and click to ‘Save Payment Details’.

That will re-trigger a payment received email from EE. I’d recommend just doing a couple and confirming they send before doing a large batch just to be sure all is working for you.


TVNellingen

March 20, 2018 at 2:36 pm

Okay, we now are up-to-date after sending and deleting about 300 messages manually… Took us about three hours.
That worked for us, thanks for the explenation and we’re glad that it’s working now automatically after the update!

The support post ‘Messages stuck in queued for generating’ 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.

Event Espresso