Support

Home Forums Event Espresso Premium getting critical error after select event name

getting critical error after select event name

Posted: January 16, 2023 at 5:03 am


ams4cme

January 16, 2023 at 5:03 am

When we using importer getting critical error after select event name on second step in Event Espresso Importer


Tony

  • Support Staff

January 16, 2023 at 5:19 am

Hi there,

We’ll need the error being thrown to investigate this, if you check the servers error logs can you see a ‘fatal error’ from Event Espresso around the same time you are testing this?

Or you should also receive an email with more details of the above critical error from your site.


ams4cme

January 16, 2023 at 5:41 am

please see the error
Fatal error: Uncaught TypeError: EventEspresso\AttendeeImporter\domain\services\import\csv\attendees\config\ImportCsvAttendeesConfig::getTicketId(): Return value must be of type int, null returned in /nas/content/live/synapseams/wp-content/plugins/eea-importer/src/domain/services/import/csv/attendees/config/ImportCsvAttendeesConfig.php:139 Stack trace: #0 /nas/content/live/synapseams/wp-content/plugins/eea-importer/src/domain/services/import/csv/attendees/config/ImportCsvAttendeesConfig.php(238): EventEspresso\AttendeeImporter\domain\services\import\csv\attendees\config\ImportCsvAttendeesConfig->getTicketId() #1 /nas/content/live/synapseams/wp-content/plugins/event-espresso-core-reg/core/services/options/JsonWpOptionManager.php(48): EventEspresso\AttendeeImporter\domain\services\import\csv\attendees\config\ImportCsvAttendeesConfig->toJsonSerializableData() #2 /nas/content/live/synapseams/wp-content/plugins/eea-importer/src/domain/services/import/csv/attendees/forms/form_handlers/ChooseEvent.php(154): EventEspresso\core\services\options\JsonWpOptionManager->saveToDb(Object(EventEspresso\AttendeeImporter\domain\services\import\csv\attendees\config\ImportCsvAttendeesConfig)) #3 /nas/content/live/synapseams/wp-content/plugins/event-espresso-core-reg/core/libraries/form_sections/form_handlers/SequentialStepFormManager.php(555): EventEspresso\AttendeeImporter\domain\services\import\csv\attendees\forms\form_handlers\ChooseEvent->process(Array) #4 /nas/content/live/synapseams/wp-content/plugins/event-espresso-core-reg/core/libraries/form_sections/form_handlers/SequentialStepFormManager.php(413): EventEspresso\core\libraries\form_sections\form_handlers\SequentialStepFormManager->processCurrentStepForm(Array) #5 /nas/content/live/synapseams/wp-content/plugins/eea-importer/src/ui/admin/importer/Importer_Admin_Page.core.php(300): EventEspresso\core\libraries\form_sections\form_handlers\SequentialStepFormManager->processForm(Array) #6 /nas/content/live/synapseams/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php(1026): Importer_Admin_Page->import(‘csv-attendee’) #7 /nas/content/live/synapseams/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php(785): EE_Admin_Page->_route_admin_request() #8 /nas/content/live/synapseams/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php(608): EE_Admin_Page->route_admin_request() #9 /nas/content/live/synapseams/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php(230): EE_Admin_Page->_page_setup() #10 [internal function]: EE_Admin_Page->__construct(true) #11 /nas/content/live/synapseams/wp-content/plugins/event-espresso-core-reg/core/EE_Registry.core.php(1293): ReflectionClass->newInstanceArgs(Array) #12 /nas/content/live/synapseams/wp-content/plugins/event-espresso-core-reg/core/EE_Registry.core.php(800): EE_Registry->_create_object(‘Importer_Admin_…’, Array, ”, false) #13 /nas/content/live/synapseams/wp-content/plugins/event-espresso-core-reg/core/services/loaders/CoreLoader.php(110): EE_Registry->create(‘Importer_Admin_…’, Array, true, false, false, ”) #14 /nas/content/live/synapseams/wp-content/plugins/event-espresso-core-reg/core/services/loaders/CachingLoader.php(157): EventEspresso\core\services\loaders\CoreLoader->load(‘Importer_Admin_…’, Array, true) #15 /nas/content/live/synapseams/wp-content/plugins/event-espresso-core-reg/core/services/loaders/Loader.php(81): EventEspresso\core\services\loaders\CachingLoader->load(‘Importer_Admin_…’, Array, true) #16 /nas/content/live/synapseams/wp-content/plugins/event-espresso-core-reg/core/services/loaders/Loader.php(104): EventEspresso\core\services\loaders\Loader->load(‘Importer_Admin_…’, Array) #17 /nas/content/live/synapseams/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_Init.core.php(427): EventEspresso\core\services\loaders\Loader->getShared(‘Importer_Admin_…’, Array) #18 /nas/content/live/synapseams/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_Init.core.php(278): EE_Admin_Page_Init->_initialize_admin_page() #19 /nas/content/live/synapseams/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_Loader.core.php(354): EE_Admin_Page_Init->do_initial_loads() #20 /nas/content/live/synapseams/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_Loader.core.php(86): EE_Admin_Page_Loader->_get_installed_pages() #21 [internal function]: EE_Admin_Page_Loader->__construct(Object(EventEspresso\core\services\loaders\Loader)) #22 /nas/content/live/synapseams/wp-content/plugins/event-espresso-core-reg/core/EE_Registry.core.php(1293): ReflectionClass->newInstanceArgs(Array) #23 /nas/content/live/synapseams/wp-content/plugins/event-espresso-core-reg/core/EE_Registry.core.php(800): EE_Registry->_create_object(‘EE_Admin_Page_L…’, Array, ”, false) #24 /nas/content/live/synapseams/wp-content/plugins/event-espresso-core-reg/core/services/loaders/CoreLoader.php(110): EE_Registry->create(‘EE_Admin_Page_L…’, Array, true, false, false, ”) #25 /nas/content/live/synapseams/wp-content/plugins/event-espresso-core-reg/core/services/loaders/CachingLoader.php(157): EventEspresso\core\services\loaders\CoreLoader->load(‘EE_Admin_Page_L…’, Array, true) #26 /nas/content/live/synapseams/wp-content/plugins/event-espresso-core-reg/core/services/loaders/Loader.php(81): EventEspresso\core\services\loaders\CachingLoader->load(‘EE_Admin_Page_L…’, Array, true) #27 /nas/content/live/synapseams/wp-content/plugins/event-espresso-core-reg/core/services/loaders/Loader.php(104): EventEspresso\core\services\loaders\Loader->load(‘EE_Admin_Page_L…’, Array) #28 /nas/content/live/synapseams/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin.core.php(210): EventEspresso\core\services\loaders\Loader->getShared(‘EE_Admin_Page_L…’, Array) #29 /nas/content/live/synapseams/wp-includes/class-wp-hook.php(308): EE_Admin->init(”) #30 /nas/content/live/synapseams/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #31 /nas/content/live/synapseams/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #32 /nas/content/live/synapseams/wp-content/plugins/event-espresso-core-reg/core/EE_System.core.php(1283): do_action(‘AHEE__EE_System…’) #33 /nas/content/live/synapseams/wp-includes/class-wp-hook.php(308): EE_System->initialize_last(”) #34 /nas/content/live/synapseams/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #35 /nas/content/live/synapseams/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #36 /nas/content/live/synapseams/wp-settings.php(617): do_action(‘init’) #37 /nas/content/live/synapseams/wp-config.php(85): require_once(‘/nas/content/li…’) #38 /nas/content/live/synapseams/wp-load.php(50): require_once(‘/nas/content/li…’) #39 /nas/content/live/synapseams/wp-admin/admin.php(34): require_once(‘/nas/content/li…’) #40 {main} thrown in /nas/content/live/synapseams/wp-content/plugins/eea-importer/src/domain/services/import/csv/attendees/config/ImportCsvAttendeesConfig.php on line 139
There has been a critical error on this website. Please check your site admin email inbox for instructions.


Tony

  • Support Staff

January 16, 2023 at 6:41 am

Hmm ok, thank you.

I’ve opened a ticket to investigate this.

Does that happen with every event?


ams4cme

January 16, 2023 at 9:00 pm

yes


Tony

  • Support Staff

January 17, 2023 at 5:39 am

Thank you, for some reason I don’t get this during testing.

However, we’ve found the cause of this and will push an update for the add-on to fix today.


ams4cme

January 17, 2023 at 9:07 pm

Thanks . please let us know when you push update.


Tony

  • Support Staff

January 18, 2023 at 4:21 am

Hi there,

The update has already been pushed live, version 1.0.2.p

If you don’t see it on your site yet then go to Event Espresso -> General Settings to force an update check. The update should then show in Dashboard -> Plugins.

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

Event Espresso