With the upgrade to EE 5.0.10.p, User Integration 2.1.1.p we experience the following error when attempting to save posts residing in the trash:
Fatal error: Uncaught Error: EED_WP_Users_Admin::save_wp_user_event_setting(): Argument #1 ($event) must be of type EE_Event, null given, called in /wp-content/plugins/event-espresso-core-reg/admin_pages/events/Events_Admin_Page.core.php on line 1109
in /wp-content/plugins/eea-wp-user-integration/EED_WP_Users_Admin.module.php on line 971
I can reproduce this and it is happening because our system automatically filters trashed events, but then when editing a trashed event it is also filtering the query for the event when updating.
I have created a ticket to investigate this further, in the meantime the only way you will be able to save the settings for trashed events is to restore them first, then save.
Viewing 1 reply thread
The support post ‘Uncaught Error: EED_WP_Users_Admin::save_wp_user_event_setting()’ 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.