I’m getting the error message below when trying to delete test registrations I had done.
Fatal error: Uncaught TypeError: Argument 1 passed to Registrations_Admin_Page::_delete_registration() must be an instance of EE_Registration, null given, called in /home/eanaonli/public_html/ASGS/wp-content/plugins/event-espresso-core-reg/admin_pages/registrations/Registrations_Admin_Page.core.php on line 2771 and defined in /home/eanaonli/public_html/ASGS/wp-content/plugins/event-espresso-core-reg/admin_pages/registrations/Registrations_Admin_Page.core.php:2798 Stack trace: #0 /home/eanaonli/public_html/ASGS/wp-content/plugins/event-espresso-core-reg/admin_pages/registrations/Registrations_Admin_Page.core.php(2771): Registrations_Admin_Page->_delete_registration(NULL) #1 /home/eanaonli/public_html/ASGS/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php(1033): Registrations_Admin_Page->_delete_registrations() #2 /home/eanaonli/public_html/ASGS/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_CPT.core.php(1114): EE_Admin_Page->_route_admin_request() #3 /home/eanaonli/public_htm in /home/eanaonli/public_html/ASGS/wp-content/plugins/event-espresso-core-reg/admin_pages/registrations/Registrations_Admin_Page.core.php on line 2798
That error means EE expected to have a Registration object but actually had null (nothing).
Can you post the exact steps you are taking for this please? I can’t reproduce it on my test sites when deleting registrations so we’ll need more details.
I’m selecting all of the registrations that are in trash on that page, that’s when I get that error. I can set you up with admin rights login if you need.
The support post ‘Error Message When Trying to Delete Registrations’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.