Overview of the Issue
If you are using Kadence PRO plugin, you will get the following error if you scan it from WPMLTheme and plugins localization page:
Warning: sprintf(): Too few arguments in .../wp-content/plugins/wpml-string-translation/classes/translations-file-scan/wpml-st-translations-file-registration.php on line 100
Or this fatal error in you are using PHP 8.+:
Fatal error: Uncaught ValueError: Unknown format specifier "t" in .../wp-content/plugins/wpml-string-translation/classes/translations-file-scan/wpml-st-translations-file-registration.php:100
Workaround
This issue is fixed. Updating to the latest version solves it on your site, so you only need this workaround if you can’t update yet.
To temporarily resolve the issue and eliminate the warning message, follow these steps:
- Go to WPMLString Translation page.
- Filter strings by the
%TEXTDOMAIN%; domain. - Select all strings under this domain and delete them.
Still Seeing This Issue?
If updating doesn’t fix it, ask a support question and we’ll look into it with you.
Ask a support question