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

问题概述

如果站点使用 PHP 8.1 并且启用了 WPML,debug.log 中可能会出现一条通知:

PHP Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/Hooks/DynamicElements.php on line 9

临时解决方法

将 WPML 更新至 4.6.5 版本

所有已知问题 →