Posted: August 8, 2023 at 8:40 am
When we try to change registration, we get a critical error: https://s.jollity.dev/qGu64KvG On the server log, we got this: PHP Fatal error: Uncaught TypeError: Argument 2 passed to EEH_Parse_Shortcodes::parse_ticket_list_template() must be an instance of EE_Ticket, null given, called in /nas/content/live/catalogstage/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Primary_Registration_List_Shortcodes.lib.php on line 117 and defined in /nas/content/live/catalogstage/wp-content/plugins/event-espresso-core-reg/core/helpers/EEH_Parse_Shortcodes.helper.php:95#012Stack trace:#012#0 /nas/content/live/catalogstage/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Primary_Registration_List_Shortcodes.lib.php(117): EEH_Parse_Shortcodes->parse_ticket_list_template(Array, NULL, Array, Array)#012#1 /nas/content/live/catalogstage/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Primary_Registration_List_Shortcodes.lib.php(73): EE_Primary_Registration_List_Shortcodes->_get_recipient_ticket_list_parsed(Array, true)#012#2 /nas/content/live/catalogstage/wp-content/plugins/event-espresso-core-reg/core/librari in /nas/content/live/catalogstage/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php on line 1150 |
|
Hi there, Thank you for the detailed report. I’ll investigate this further, but I’m curious, on your site do you still get the fatal error if you set the notifications to No? |
|
Tony, when we turn the notifications off, we do not see the fatal error. So it must be something related to the notifications. |
|
Yeah its throwing an error when when generating the message for the Primary Attendee, in short the function that processes the ticket list section isn’t being passed a ticket. But… if there isn’t a ticket that shouldn’t be parsing either way. Can I take a look in the admin at your setup? I want to narrow this down further to see if I can reproduce this. Is that is ok you can send temp login details using this form: |
|
Tony, the login details have been submitted so you can investigate the problem. |
|
Hmm is this happening on every registration you move or just specific ones? Setting up messages to be the same as yours hasn’t reproduced the issue, so it must be something regarding the tickets themselves when setting up the data, but I need to know which registrations I can investigate further on your site. |
|
Tony, this is a staging site so that you can make all the needed tests. The problem is happening only on Valerie Ferguson, transaction 4082 |
|
This reply has been marked as private. | |
This reply has been marked as private. | |
I’m getting the same issue, can you set the password on that account to something and submit the login credentials using the form please: |
|
The support post ‘Critical error when changing a Registration’ 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.