WPML
状态
已解决
报告针对
WPML Multilingual CMS 4.6.4
解决于
WPML 4.6.5

问题概述

如果您使用的是 PHP 8.1 并且启用了 WPML 字符串翻译,您会在 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`

临时解决方法

将 WPML 更新至 4.6.5 版本

所有已知问题 →