Skip Navigation

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: America/Lima (GMT-05:00)

This topic contains 1 reply, has 0 voices.

Last updated by Andreas W. 2 weeks ago.

Assisted by: Andreas W..

Author Posts
January 11, 2025 at 12:52 am #16583480

ahmedH-37

Background of the issue:
I am trying to access the theme and plugin localization page, but I'm getting an error. We received an email with error details indicating an issue in the file /home/customer/www/staging2.conseilsretraite.ca/public_html/wp-content/plugins/wpml-string-translation/classes/translations-file-scan/wpml-st-translations-file-registration.php at line 100.

Symptoms:
There has been a critical error on this website. Error message: Uncaught ValueError: Unknown format specifier "t" in the specified file.

Questions:
How can I resolve the critical error when accessing theme and plugin localization?
What does the error message 'Unknown format specifier "t"' mean?

January 11, 2025 at 4:44 pm #16584406

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

This issue usually occurs if you translated a string with WPML > String Translation and this string is not using the proper placeholder.

Means, the string was not translated as it should be.

Please see this example:
https://wpml.org/errata/php-8-php-fatal-error-uncaught-valueerror-unknown-format-specifier-in/

If you need me to take a look into this as admin, please let me know.

Best regards
Andreas

The topic ‘[Closed] Can’t access theme and plugin localisation’ is closed to new replies.