Support

Home Forums Event Espresso Premium Fatal Error on admin

Fatal Error on admin

Posted: December 17, 2024 at 4:44 am

Viewing 3 reply threads


acquabuona

December 17, 2024 at 4:44 am

Hi,
we update the eventespresso core and plugins and now we have this error if we try to navigate on any options from the Admin:

Fatal error: Uncaught ValueError: Unknown format specifier “a” in /var/www/vhosts/acquabuona.it/httpdocs/wp-content/plugins/event-espresso-core-reg/admin_pages/events/help_tabs/event_editor_save_new_event.help_tab.php:7 Stack trace: #0 /var/www/vhosts/acquabuona.it/httpdocs/wp-content/plugins/event-espresso-core-reg/admin_pages/events/help_tabs/event_editor_save_new_event.help_tab.php(7): printf() #1 /var/www/vhosts/acquabuona.it/httpdocs/wp-content/plugins/event-espresso-core-reg/core/helpers/EEH_Template.helper.php(420): include(‘…’) #2 /var/www/vhosts/acquabuona.it/httpdocs/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php(1366): EEH_Template::display_template() #3 /var/www/vhosts/acquabuona.it/httpdocs/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php(818): EE_Admin_Page->_add_help_tabs() #4 /var/www/vhosts/acquabuona.it/httpdocs/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page_CPT.core.php(380): EE_Admin_Page->_load_page_dependencies() #5 /var/www/vhosts/acquabuona.it/httpdocs/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php(760): EE_Admin_Page_CPT->_load_page_dependencies() #6 /var/www/vhosts/acquabuona.it/httpdocs/wp-includes/class-wp-hook.php(324): EE_Admin_Page->load_page_dependencies() #7 /var/www/vhosts/acquabuona.it/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #8 /var/www/vhosts/acquabuona.it/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #9 /var/www/vhosts/acquabuona.it/httpdocs/wp-admin/admin.php(237): do_action() #10 {main} thrown in /var/www/vhosts/acquabuona.it/httpdocs/wp-content/plugins/event-espresso-core-reg/admin_pages/events/help_tabs/event_editor_save_new_event.help_tab.php on line 7


Tony

  • Support Staff

December 17, 2024 at 5:22 am

Hi there,

Are you running any plugins for translations or have custom translation files for your translations?

The error you are getting appears to be from translating this string:

Notice: Due to a %1$scurrent bug in the WordPress core%2$s, your event should always have at least a title or description or excerpt. Saving an event without at least one of these fields filled out with information will result in your event not saving correctly. You will then need to recreate your event by clicking on the Add Event button.

And usually happens when there is a missing placeholder such as %1$s being incorrectly replaced within %1$ (note the missing S).

However, in our currently translation set for IT that string is untranslated:

https://translate.eventespresso.com/projects/event-espresso-4/it/event-espresso-it_it/?filters%5Bstatus%5D=either&filters%5Boriginal_id%5D=12675&filters%5Btranslation_id%5D=87609

So I’ assuming you have custom translations for this?


acquabuona

December 17, 2024 at 5:48 am

Thanks!
I use Loco Translate and it miss some code. i check and now it works


Tony

  • Support Staff

December 17, 2024 at 7:31 am

Awesome, I’m glad it’s working.

Viewing 3 reply threads

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

Event Espresso