Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Bigul 1 year, 3 months ago.

Assisted by: Bigul.

Author Posts
July 25, 2023 at 9:53 am #14095041

emelieC

Hello,

Our debug log is getting bloated with this:

[25-Jul-2023 09:47:13 UTC] PHP Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /var/www/vhosts/bohoclub.com/httpdocs/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/Hooks/DynamicElements.php on line 94

Using PHP v8.1

Would you please fix this or let me know what I can do to change the code to avoid this showing up.

July 25, 2023 at 2:28 pm #14097323

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

This bug is already escalated to our developers and fixed. The fix will be included in the upcoming version of WPML(4.6.5). It is expected to release in a few days.

Please refer to the following ticket for more details(sorry it is in German).

https://wpml.org/de/forums/topic/passing-null-to-parameter-2-subject-of-type-string-is-deprecated/

--
Thanks!

Bigul