Support

Home Forums Event Espresso Premium Registration Emails Not Sending

Registration Emails Not Sending

Posted: November 9, 2020 at 10:58 am

Viewing 3 reply threads


tfkcc

November 9, 2020 at 10:58 am

I’m seeing some strange issues occurring as of recently that is preventing email messages from EE4 to be sent:

Fatal error: Uncaught Error: Call to a member function reg_url_link() on null in /path/to/domain/wp-content/plugins/eea-wait-lists/domain/services/modules/EED_Wait_Lists.module.php:644 Stack trace: #0 /path/to/domain/wp-content/plugins/eea-wait-lists/domain/services/messages/EE_Recipient_Waitlist_Shortcodes.lib.php(72): EED_Wait_Lists::wait_list_checkout_url(Object(EE_Registration)) #1 /path/to/domain/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Shortcodes.lib.php(184): EE_Recipient_Waitlist_Shortcodes->_parser(‘[RECIPIENT_WAIT…’) #2 /path/to/domain/wp-content/plugins/event-espresso-core-reg/core/helpers/EEH_Parse_Shortcodes.helper.php(234): EE_Shortcodes->parser(‘[RECIPIENT_WAIT…’, Object(EE_Messages_Addressee), Array) #3 /path/to/domain/wp-content/plugins/event-espresso-core-reg/core/helpers/EEH_Parse_Shortcodes.helper.php(74): EEH_Parse_Shor in /path/to/domain/wp-content/plugins/eea-wait-lists/domain/services/modules/EED_Wait_Lists.module.php on line 644

Message failed to generate for the following reasons:
Incoming data for the Gateways data handler must have an EE_Transaction object as the value for the first array index.

Message failed to generate for the following reasons:
EE_Messages_REG_incoming_data requires the incoming data argument to be an instance of EE_Registration or an array where the first value is an instance of EE_Registration

Is the “Incoming data for the Gateways data handler must have an EE_Transaction object as the value for the first array index” error message being caused by my custom payment gateway plugin? If so, what did I do wrong or need to change to fix this issue?

https://github.com/own3mall/secure-submit-heartland-payments-event-espresso-4-payment-plugin/tree/master/src/event-espresso-4-secure-submit

As for the other message errors, I have no idea what could be possibly causing them.

The one that threw a PHP error I had to delete before anything would work. As you can see, it had missing data in the database…

Any ideas?


tfkcc

November 9, 2020 at 10:58 am

https://serv1.dragndropz.com/user_images/2020_11_09/2429_VO0EzQ_message_delete_bad.png

Link to image since it made it too small to read…


tfkcc

November 9, 2020 at 11:13 am

Actually, all of those errors seem to be related to the message entry in the database that caused the PHP fatal error. They all started happening around that timestamp, and now that I’ve deleted that message entry, I have yet to see failures so far.


Tony

  • Support Staff

November 10, 2020 at 3:14 am

Hi there,

That’s an odd one and I’m not sure how you’ve got a message with no transaction assigned to it.

The TXN_ID being 0 is odd (all registrations link to a transaction so that should always be set) and is why you’ll be getting the above error.

Have you been trashing/deleting waitlist registrations or any transactions at all?

Viewing 3 reply threads

The support post ‘Registration Emails Not Sending’ 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