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?
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.