Skip to content Skip to sidebar

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 -
- - - - - - -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 1 reply, has 0 voices.

Last updated by Waqas Bin Hasan 5 months, 3 weeks ago.

Assisted by: Waqas Bin Hasan.

Author Posts
February 19, 2025 at 11:14 pm #16726973

Bela Jantik

Background of the issue:
I am trying to use the Pro versions of Kadence Theme and Kadence Blocks. I am aware of the workaround for the %TEXTDOMAIN% issue and have deleted the strings as instructed here: https://wpml.org/errata/kadence-pro-plugin-sprintf-too-few-arguments/. The website's default language is Hungarian, and the translated/secondary language is English.

Attaching screencast not works, so I link it from the website: hidden link

Symptoms:
On the Hungarian language, if I click on the 'Theme and plugins localization' menu, a fatal error occurs. An error of type E_ERROR was caused in line 100 of the file /home/smartoffice/wp-content/plugins/wpml-string-translation/classes/translations-file-scan/wpml-st-translations-file-registration.php. Error message: Uncaught ValueError: Unknown format specifier 't' in /home/smartoffice/wp-content/plugins/wpml-string-translation/classes/translations-file-scan/wpml-st-translations-file-registration.php:100.

Questions:
Why does the fatal error occur only in the Hungarian language when accessing the 'Theme and plugins localization' menu?
How can I make the 'Theme and plugins localization' menu work in both Hungarian and English?

February 20, 2025 at 10:24 am #16728862

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting the support.

Before proceeding further, can you please try the following?

Take a full backup of your site and database before proceeding. It is highly advised to try these on a dev or staging site first, so your live site isn't compromised.

1) Update WPML plugins to the latest versions. You can do this by going to Plugins -> Add New -> Commercial and click "Check for updates". And then select the ones needed to update to the latest versions (specially WPML and String Translation).
--- And then clear all caches and check again.
2) If issue is still there, then please deactivate all plugins except WPML and String Translation.
3) Switch to a standard theme like 2024 or 2021.
4) Check for the issue if it still happens.
5) Then start activating plugins one by one while keep checking for the issue. This way you 'll be able to pinpoint a conflict when & where it starts creating the problem.
6) If after activating all plugins you see that it still works fine, then switch to your theme and see if that's causing it.

Please let me know your findings and I'll try my best to help you further on the matter.

Regards.

The topic ‘[Closed] Click on Theme and plugins localization cause Fatal Error on Hungarian language’ is closed to new replies.