I get an on one of my websites when going to event espresso. On every page I get the following fatal error: Fatal error: Uncaught Exception: Page route "_your_organization_settings" with the supplied arguments () threw the following exception: Argument 1 passed to EED_Add_New_State::state_options() must be of the type array, null given, called in /home/1034895.cloudwaysapps.com/sbgrbwyhru/public_html/wp-includes/class-wp-hook.php on line 310
We did not change anything in Event Espresso. Even when turning all plugin off and only activating event espresso core wee keep getting the error. We got the error in 5.0.7 and after updating to 5.0.8 we still get the same error.
Thank you that works and we can now get into the general settings. But when going to the event overview. We then get:
Fatal error: Uncaught Exception: Page route “_events_overview_list_table” with the supplied arguments () threw the following exception: Typed property EE_Model_Relation_Base::$_timezone must be string, null used
in /home/1034895.cloudwaysapps.com/agcnptpbsc/public_html/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php on line 1156
I fixed the second error by going back to version 5.0.0 the error came from the file event-espresso-core-reg\core\db_models\relations\EE_Model_Relation_Base.php
where in the 5.0.0 version the timezone string is defined like:
/**
* this is typically used when calling the relation models to make sure they inherit any set timezone from the
* initiating model.
*
* @var string
*/
protected $_timezone;
and in 5.0.7 and 5.0.8 the timezone string is defined like:
/**
* this is typically used when calling the relation models to make sure they inherit any set timezone from the
* initiating model.
*
* @var string
*/
protected string $_timezone = '';
Fatal error: Uncaught Exception: Page route "_events_overview_list_table" with the supplied arguments () threw the following exception: Typed property EE_Model_Relation_Base::$_blocking_delete_error_message must be string, null used
in /home/1034895.cloudwaysapps.com/snjdxyqqby/public_html/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php on line 1158
Call stack:
EE_Admin_Page::_route_admin_request()
wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_CPT.core.php:1102
EE_Admin_Page_CPT::route_admin_request()
wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_Init.core.php:258
EE_Admin_Page_Init::initialize_admin_page()
wp-includes/class-wp-hook.php:308
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:332
WP_Hook::do_action()
wp-includes/plugin.php:517
do_action()
wp-admin/admin.php:259
We have found the cause and a fix has been applied to 5.0.8.p for new downloads, we’ll push an update with an ‘official’ release fix once ready.
Viewing 18 reply threads
The support post ‘Fatal Error in Event Espresso Core’ 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.