FleXx
July 13, 2023 at 9:43 am
Hi there
I have an issue with the payment. For my event, there is only the payment option “invoice” activated. Normally, it works perfectly. Now you won’t be able to finish the registration. In the payment step, you get the error msg “This registration step could not be completed. Please refresh the page…”. I went to the payment settings, deactivated the “invoice” and got a WP Critical Error Message.
Wenn du Hilfe bei diesem Problem suchst, wirst du möglicherweise nach einigen der folgenden Informationen gefragt:
WordPress-Version 6.2.2
Aktives Theme: OceanWP (Version 3.4.6)
Aktuelles Plugin: Event Espresso (Version 5.0.7.p)
PHP-Version 8.1.17
Fehler-Details
==============
Ein Fehler vom Typ E_ERROR wurde in der Zeile 1150 der Datei /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php verursacht. Fehlermeldung: Uncaught ValueError: Unknown format specifier ” ” in /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Message.class.php:346
Stack trace:
#0 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-content/plugins/event-espresso-core-reg/core/db_classes/EE_Message.class.php(346): sprintf(‘Der Meldungstyp…’, ‘registration’, ‘html’)
#1 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/EE_Message_To_Generate.php(234): EE_Message->is_valid_for_sending_or_generation(true)
#2 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/EE_Message_To_Generate.php(135): EE_Message_To_Generate->_generate_message()
#3 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/EE_Messages_Processor.lib.php(503): EE_Message_To_Generate->__construct(‘html’, ‘registration’, Array)
#4 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/EE_Messages_Processor.lib.php(607): EE_Messages_Processor->setup_mtgs_for_all_active_messengers(‘registration’, Array)
#5 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-content/plugins/event-espresso-core-reg/modules/messages/EED_Messages.module.php(749): EE_Messages_Processor->setup_messages_to_generate_from_registration_ids_in_request()
#6 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php(4104): EED_Messages::process_resend(Array)
#7 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-content/plugins/event-espresso-core-reg/admin_pages/registrations/Registrations_Admin_Page.core.php(1664): EE_Admin_Page->_process_resend_registration()
#8 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-content/plugins/event-espresso-core-reg/admin_pages/registrations/Registrations_Admin_Page.core.php(1744): Registrations_Admin_Page->_set_registration_status_from_request(‘RAP’, true)
#9 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-content/plugins/event-espresso-core-reg/admin_pages/registrations/Registrations_Admin_Page.core.php(1876): Registrations_Admin_Page->_reg_status_change_return(‘RAP’, true)
#10 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-content/plugins/event-espresso-core-reg/admin_pages/registrations/Registrations_Admin_Page.core.php(1855): Registrations_Admin_Page->approve_registration(true)
#11 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php(1142): Registrations_Admin_Page->bulk_action_on_registrations(‘approve’, true)
#12 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_CPT.core.php(1099): EE_Admin_Page->_route_admin_request()
#13 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php(694): EE_Admin_Page_CPT->route_admin_request()
#14 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php(292): EE_Admin_Page->_page_setup()
#15 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_Init.core.php(482): EE_Admin_Page->initializePage()
#16 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_CPT_Init.core.php(24): EE_Admin_Page_Init->_initialize_admin_page()
#17 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_Loader.core.php(185): EE_Admin_Page_CPT_Init->do_initial_loads()
#18 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_Loader.core.php(94): EE_Admin_Page_Loader->findAndLoadAdminPages()
#19 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin.core.php(207): EE_Admin_Page_Loader->init()
#20 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-includes/class-wp-hook.php(308): EE_Admin->init(”)
#21 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array)
#22 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#23 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-content/plugins/event-espresso-core-reg/core/EE_System.core.php(1167): do_action(‘AHEE__EE_System…’)
#24 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-includes/class-wp-hook.php(308): EE_System->initialize_last(”)
#25 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#26 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#27 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-settings.php(623): do_action(‘init’)
#28 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-config.php(107): require_once(‘/home/phiteh/pu…’)
#29 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-load.php(50): require_once(‘/home/phiteh/pu…’)
#30 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-admin/admin.php(34): require_once(‘/home/phiteh/pu…’)
#31 {main}
Next RuntimeException: Page route "bulk_action_on_registrations" with the supplied arguments (0, 1) threw the following exception: Unknown format specifier ” ” in /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php:1150
Stack trace:
#0 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_CPT.core.php(1099): EE_Admin_Page->_route_admin_request()
#1 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php(694): EE_Admin_Page_CPT->route_admin_request()
#2 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php(292): EE_Admin_Page->_page_setup()
#3 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_Init.core.php(482): EE_Admin_Page->initializePage()
#4 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_CPT_Init.core.php(24): EE_Admin_Page_Init->_initialize_admin_page()
#5 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_Loader.core.php(185): EE_Admin_Page_CPT_Init->do_initial_loads()
#6 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_Loader.core.php(94): EE_Admin_Page_Loader->findAndLoadAdminPages()
#7 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin.core.php(207): EE_Admin_Page_Loader->init()
#8 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-includes/class-wp-hook.php(308): EE_Admin->init(”)
#9 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array)
#10 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#11 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-content/plugins/event-espresso-core-reg/core/EE_System.core.php(1167): do_action(‘AHEE__EE_System…’)
#12 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-includes/class-wp-hook.php(308): EE_System->initialize_last(”)
#13 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#14 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#15 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-settings.php(623): do_action(‘init’)
#16 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-config.php(107): require_once(‘/home/phiteh/pu…’)
#17 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-load.php(50): require_once(‘/home/phiteh/pu…’)
#18 /home/phiteh/public_html/phiteh.cyon.site/wpnela/wp-admin/admin.php(34): require_once(‘/home/phiteh/pu…’)
#19 {main}
thrown
Any idea what causes this error?
Thank’s for your help.
bg FleXx
Rio
July 13, 2023 at 9:51 pm
Add New Note to this Reply
Hello, The two image you sent is not working. Can you host the two images, maybe in dropbox or gdrive and send the link to us?
thanks
FleXx
July 14, 2023 at 12:14 am
Add New Note to this Reply
Hi there
Here i got a screenshot with additional information.
additional information
Thank you. bg FleXx
FleXx
July 14, 2023 at 1:07 am
Add New Note to this Reply
Now i got a Fatal error, when i try to open a event. I thought i might be connectet with php8. So i change to php 7, but there is no differents.
Screenshot Fatal Error
Tony
July 14, 2023 at 7:49 am
Add New Note to this Reply
Hi there,
The issue here is due to PHP8 and the translations in use on the site.
Do you have custom translation files in /wp-content/uploads/espresso/languages/
?
Side note Event Espresso (and also WordPress itself) does not fully support PHP8.1.X
FleXx
July 15, 2023 at 2:12 pm
Add New Note to this Reply
Hello, I used the standard german language pack. I have now switched to english and now everything works again. PHP I switched back to 7.4.33. Will there be a fix for the German language package? Thank you very much.
Tony
July 17, 2023 at 7:01 am
Add New Note to this Reply
Strange, the line numbers don’t match up for a translated string.
Within EE_Message.class.php
the closest string to translate is:
The %1$s message type is not a valid message type for the %2$s messenger so it will not be sent.
But we don’t have a translation for that string:
https://translate.eventespresso.com/projects/event-espresso-4/de/event-espresso-de_de/?filters%5Boriginal_id%5D=23205
Grab the latest translations from here:
https://translate.eventespresso.com/projects/event-espresso-4/de/event-espresso-de_de/export-translations/?format=mo
Save that as event-espresso-4-de_DE.mo
Place it in /wp-content/uploads/espresso/languages
(If you have other language fils for EE there, download them locally to back them up and remove them from the server)
Now grab the PO:
https://translate.eventespresso.com/projects/event-espresso-4/de/event-espresso-de_de/export-translations/?format=po
Save that as event-espresso-4-de_DE.po
Place it in the above location so that you know what your MO file was generated from)
Now switch to german again, does it work?
FleXx
July 17, 2023 at 1:01 pm
Add New Note to this Reply
Hi Tony
Now it works. Thanks for your help.
greets FleXx