Joost
January 13, 2023 at 8:48 am
We tried to upgrade from PHP 7.4 to PHP 8.1, but we found that conformation mails were not sent. Below the stack dump. Going back to PHP 7.4 resolves the issue. Any idea how to fix this>
Regards, Joost
WordPress versie 6.1.1
Actief thema: Dynamik-Gen (versie 2.6.9.9)
Huidige plugin: Event Espresso (versie 4.10.41.p)
PHP versie 8.1.13
Stack dump:
Een fout van het type E_ERROR werd veroorzaakt op regelnummer 88 van het bestand /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Event_Shortcodes.lib.php. Foutmelding: Uncaught ValueError: Unknown format specifier “v” in /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Event_Shortcodes.lib.php:88
Stack trace:
#0 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Event_Shortcodes.lib.php(88): sprintf()
#1 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Shortcodes.lib.php(120): EE_Event_Shortcodes->_init_props()
#2 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Event_Shortcodes.lib.php(30): EE_Shortcodes->__construct()
#3 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/helpers/EEH_Parse_Shortcodes.helper.php(274): EE_Event_Shortcodes->__construct()
#4 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/helpers/EEH_Parse_Shortcodes.helper.php(153): EEH_Parse_Shortcodes->_set_shortcodes()
#5 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/helpers/EEH_Parse_Shortcodes.helper.php(70): EEH_Parse_Shortcodes->_init_data()
#6 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/EE_Messages_Generator.lib.php(732): EEH_Parse_Shortcodes->parse_message_template()
#7 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/EE_Messages_Generator.lib.php(635): EE_Messages_Generator->_setup_message_object()
#8 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/EE_Messages_Generator.lib.php(323): EE_Messages_Generator->_assemble_messages()
#9 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/EE_Messages_Generator.lib.php(162): EE_Messages_Generator->_generate()
#10 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/EE_Messages_Processor.lib.php(128): EE_Messages_Generator->generate()
#11 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/modules/messages/EED_Messages.module.php(1113): EE_Messages_Processor->batch_generate_from_queue()
#12 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/admin_pages/messages/Messages_Admin_Page.core.php(4578): EED_Messages::generate_now()
#13 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php(1026): Messages_Admin_Page->_generate_now()
#14 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php(785): EE_Admin_Page->_route_admin_request()
#15 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php(608): EE_Admin_Page->route_admin_request()
#16 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php(230): EE_Admin_Page->_page_setup()
#17 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/admin_pages/messages/Messages_Admin_Page.core.php(108): EE_Admin_Page->__construct()
#18 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/caffeinated/admin/extend/messages/Extend_Messages_Admin_Page.core.php(21): Messages_Admin_Page->__construct()
#19 [internal function]: Extend_Messages_Admin_Page->__construct()
#20 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/EE_Registry.core.php(1293): ReflectionClass->newInstanceArgs()
#21 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/EE_Registry.core.php(800): EE_Registry->_create_object()
#22 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/services/loaders/CoreLoader.php(110): EE_Registry->create()
#23 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/services/loaders/CachingLoader.php(157): EventEspresso\core\services\loaders\CoreLoader->load()
#24 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/services/loaders/Loader.php(81): EventEspresso\core\services\loaders\CachingLoader->load()
#25 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/services/loaders/Loader.php(104): EventEspresso\core\services\loaders\Loader->load()
#26 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_Init.core.php(427): EventEspresso\core\services\loaders\Loader->getShared()
#27 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_Init.core.php(278): EE_Admin_Page_Init->_initialize_admin_page()
#28 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_Loader.core.php(354): EE_Admin_Page_Init->do_initial_loads()
#29 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_Loader.core.php(86): EE_Admin_Page_Loader->_get_installed_pages()
#30 [internal function]: EE_Admin_Page_Loader->__construct()
#31 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/EE_Registry.core.php(1293): ReflectionClass->newInstanceArgs()
#32 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/EE_Registry.core.php(800): EE_Registry->_create_object()
#33 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/services/loaders/CoreLoader.php(110): EE_Registry->create()
#34 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/services/loaders/CachingLoader.php(157): EventEspresso\core\services\loaders\CoreLoader->load()
#35 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/services/loaders/Loader.php(81): EventEspresso\core\services\loaders\CachingLoader->load()
#36 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/services/loaders/Loader.php(104): EventEspresso\core\services\loaders\Loader->load()
#37 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin.core.php(210): EventEspresso\core\services\loaders\Loader->getShared()
#38 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-includes/class-wp-hook.php(308): EE_Admin->init()
#39 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#40 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#41 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-content/plugins/event-espresso-core-reg/core/EE_System.core.php(1283): do_action()
#42 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-includes/class-wp-hook.php(308): EE_System->initialize_last()
#43 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#44 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#45 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-settings.php(617): do_action()
#46 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-config.php(86): require_once(‘…’)
#47 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-load.php(50): require_once(‘…’)
#48 /home/plukdelief/domains/plukdeliefde.nl/public_html/wp-admin/admin.php(34): require_once(‘…’)
#49 {main}
thrown
Tony
January 13, 2023 at 1:11 pm
Add New Note to this Reply
Hi there,
This is an issue with the translation file used on the site, are you loading custom translations within /wp-content/uploads/espresso/?
Sidenote – WordPress itself s not fully PHP8.1 compatible and neither is Event Espresso currently, I would recommend using PHP8.0 at this time.