WPML
Status
Resolved
Reported for
WPML Multilingual CMS 4.6.4
Resolved in
WPML 4.6.5

Overview of the issue

If you are using PHP 8.1 and have WPML String Translations active, you’ll encounter the following notice in your debug.log:

`Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in wp-contentpluginswpml-string-translationclassesslug-translationcustom-typeswpml-st-slug-translations.php on line 31`

 

Workaround

Update WPML to version 4.6.5

All known issues →