Skip Navigation

Resolved

Topic Tags: Compatibility

Overview of the issue

If you are using Kadence PRO plugin, you will get the following error if you scan it from WPML > Theme 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

To temporarily resolve the issue and eliminate the warning message, follow these steps:

  • Go to WPML > String Translation page.
  • Filter strings by the %TEXTDOMAIN%; domain.
  • Select all strings under this domain and delete them.