Support

Home Forums Event Espresso Premium Fatal Error

Fatal Error

Posted: September 26, 2024 at 12:37 pm

Viewing 1 reply thread


asse2014

September 26, 2024 at 12:37 pm

Getting this fatal error in the server log, PHP message: PHP Fatal error: Uncaught EventEspresso\core\exceptions\EntityNotFoundException: The requested entity with Event ID="2331" was not found. in /www/xxxwp_329/public/wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Registration.class.php:440
Stack trace:
#0 /www/xxxwp_329/public/wp-content/plugins/event-espresso-core-reg/admin_pages/transactions/EE_Admin_Transactions_List_Table.class.php(408): EE_Registration->event()
#1 /www/xxxwp_329/public/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_List_Table.core.php(801): EE_Admin_Transactions_List_Table->column_event_name(Object(EE_Transaction))
#2 /www/xxxwp_329/public/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_List_Table.core.php(697): EE_Admin_List_Table->single_row_columns(Object(EE_Transaction))
#3 /www/xxxwp_329/public/wp-admin/includes/class-wp-list-table.php(1727): EE_Admin_List_Table->single_row(Object(EE_Transaction))
#4 /www/xxxwp_329/public/wp-admin/includes/class-wp-” while reading upstream, client: xx.xx.xx.xx, server: xxxwp.org, request: “GET /wp-admin/admin.php?page=espresso_transactions HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php8.1-fpm-xxxwp.sock:”, host: “xxxwp.org:40739”, referrer: “https://xxxwp.org/wp-admin/admin.php?page=espresso_registrations&_REG_ID=1&action=default&_wp_http_referer=%2Fwp-admin%2Fadmin.php%3Fpage%3Despresso_registrations%26_REG_ID%3D1%26action%3Dtrash_registrations%26trash_registrations_nonce%3D5542cf0d80&_wpnonce=bb44fb0274&default_nonce=bb44fb0274&return=trash_registrations

Yes, the event was deleted. Do I need to go into the database to delete the transaction to fix? If so, what table will it be in?


Tony

  • Support Staff

September 26, 2024 at 1:40 pm

Hi there,

Yes, this will need to be manually fixed in the DB.

However, may I ask how the Event was deleted? EE shouldn’t allow you to delete an event through the UI if there are registrations assigned to it.

The row in question there is from {prefix}esp_registration, so often just wp_esp_registration but your prefix may be different.

It looks like its REG_ID 1 from there but also take note of the TXN_ID and see if there is a row in esp_transaction with that TXN_ID… that may need to be removed.

(Be sure to backup your DB before you do this just to be safe)

Viewing 1 reply thread

You must be logged in to reply to this support post. Sign In or Register for an Account

Event Espresso