Skip Navigation

Resolved

Reported for: WPML Multilingual CMS 4.6.4

Resolved in: WPML 4.6.5

Overview of the issue

If the site is using PHP 8.1 and has WPML enabled, a notice will likely appear in the 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

Workaround

Update WPML to version 4.6.5