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 2 replies, has 2 voices.

Last updated by marcoR-2 1 year, 10 months ago.

Assisted by: Mohamed Sayed.

Author Posts
June 6, 2023 at 8:34 am #13775913

marcoR-2

Something else. I could enter to my error log and I have also that:
[04-Jun-2023 02:07:30 UTC] PHP Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /usr/home/myweb.com/web/wp-content/plugins/sitepress-multilingual-cms/lib/mobile-detect.php on line 562

June 6, 2023 at 9:40 am #13777147

Mohamed Sayed

Hi,

The problem with PHP 8.x is that WordPress is still beta compatible with them https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/

So I think it's expected that you can see some deprecation notices from different plugins/themes. Please note that this is just a notice not an error, so it shouldn't affect your website or make anything broken.

The fixes for many issues with PHP 8.x versions will be handled in WPML 4.6.4 (The next release), so I suggest waiting for the next release and then checking again if you still see this notice https://wpml.org/download/wpml-multilingual-cms/?section=changelog