Support

Home Forums Event Espresso Premium PHP Error after adding new registrant

PHP Error after adding new registrant

Posted: May 29, 2018 at 6:21 pm

Viewing 5 reply threads


ATD Cascadia Chapter

May 29, 2018 at 6:21 pm

I’m getting an error when I manually enter in a new registrant.

Notice: Undefined index: txn_reg_status_change in /home/tdcascadia/public_html/wp-content/plugins/event-espresso-core-reg/modules/messages/EED_Messages.module.php on line 633

Warning: Cannot modify header information – headers already sent by (output started at …/public_html/wp-content/plugins/event-espresso-core-reg/modules/messages/EED_Messages.module.php:633) in …/public_html/wp-includes/pluggable.php on line 1216

To recreate the error the process breaks down like this:
Go in to the event, make the event private, change the ticket type to a different end date (for example, if the early bird rate has already passed but we need to register someone for that ticket type), save the event, then go and add a new registration using the desired ticket type, then go back and reset the ticket type end date to the correct end date, then set the event to public, and save.

When we got to the part where we changed the end date on the ticket type and then tried to add the registrant, we got the error message. It’s the same process we’ve been using since we first started with EventEspresso.


Tony

  • Support Staff

May 30, 2018 at 7:12 am

Hi there,

When you add the details for the registration are you unchecking the ‘Send Related Messages?’ checkbox?


ATD Cascadia Chapter

June 4, 2018 at 6:42 pm

No. Is it a requirement to uncheck that?


Josh

  • Support Staff

June 4, 2018 at 9:19 pm

It’s not a requirement. The reason support staff will ask the question is for clarification.

The workflow steps you listed could be condensed down a bit (and possibly avoid PHP warnings) by adding an admin-only ticket. This way you can avoid setting the event to Private, changing sale ending dates on tickets, then changing everything back.

With regards to the PHP notice followed by a warning, can you check with your web host and ask them to make sure PHP is configured to not display warnings, notices, and errors? Live sites should not be displaying PHP notices, those should display only while developing a site.


bhesketh

June 7, 2018 at 2:16 pm

I get the same PHP notice and warning when Send Related Messages? is unchecked.

PHP settings have display errors set to off.

We need to be able to register users with unchecked option “Send Related Messages?”

Thank you!


Josh

  • Support Staff

June 7, 2018 at 2:49 pm

May I ask is WP_DEBUG set true? If you’re not sure that’s set in the site’s wp-config.php file.

Viewing 5 reply threads

The support post ‘PHP Error after adding new registrant’ 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