Home Forums Event Espresso Premium messages settings give error in Dutch version

messages settings give error in Dutch version

Posted: January 4, 2022 at 3:03 am


January 4, 2022 at 3:03 am


I use WP 5.8.2, theme Twenty Twenty-One, EE 4.10.23.p and all non-EE plugins are de-activated. The site language of my installation is Dutch (Nederlands).

I get the following error when I try to access the Messages > Settings tab (doesn’t happen when I switch to English as site language):

Fatal error: Uncaught ValueError: Unknown format specifier "m" in /home/deb138711/domains/ Stack trace: #0 /home/deb138711/domains/ printf() #1 /home/deb138711/domains/ include('/home/deb138711...') #2 /home/deb138711/domains/ EEH_Template::display_template() #3 /home/deb138711/domains/ Messages_Admin_Page->{closure}() #4 /home/deb138711/domains/ do_meta_boxes() #5 /home/deb138711/domains/ include('/home/deb138711...') #6 /home/deb138711/domains/ EEH_Template::display_template() #7 /home/deb138711/domains/ EE_Admin_Page->_display_admin_page() #8 /home/deb138711/domains/ EE_Admin_Page->display_admin_page_with_sidebar() #9 /home/deb138711/domains/ Messages_Admin_Page->_settings() #10 /home/deb138711/domains/ EE_Admin_Page->_route_admin_request() #11 /home/deb138711/domains/ EE_Admin_Page->route_admin_request() #12 /home/deb138711/domains/ EE_Admin_Page_Init->initialize_admin_page() #13 /home/deb138711/domains/ WP_Hook->apply_filters() #14 /home/deb138711/domains/ WP_Hook->do_action() #15 /home/deb138711/domains/ do_action() #16 {main} thrown in /home/deb138711/domains/ on line 28

What could be the problem?

Brent Christensen

  • Support Staff

January 4, 2022 at 5:38 pm

Which language option do you have set in the admin?

– Nederlands (België)
– Nederlands (Formeel)
– Nederlands

looks like a typo in the translation file, because the template itself is correct, which is why it works fine in English but not in Dutch.

Brent Christensen

  • Support Staff

January 4, 2022 at 6:20 pm

Found it!

The string:

Below are message types that are currently %sactive%s with this messenger. Drag them over to the “Inactive Message Types” box to deactivate them.

was translated as:

Hieronder staan berichttypen die momenteel %sactive% met deze messenger. Sleep ze naar het vak ‘Inactieve berichttypen’ om ze te deactiveren.

notice how %sactive%s was changed to %sactive% ?

what’s happening is that the translation function in WordPress is looking for a format type after that second % and since the next word starts with m it is trying to use that.

I’ll need to talk to some of our support staff about how/where to update that as it is not something I normally deal with (i’m a dev that is just helping with the forums today)

In the time being, you can use the program I used to find that error:

It’s free, and you can simply update the file in the EE core languages folder


January 5, 2022 at 4:18 am

Thank you very much, that did the trick!

The support post ‘messages settings give error in Dutch version’ 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.

Event Espresso