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 Johan 1 year, 10 months ago.

Assisted by: Johan.

Author Posts
February 13, 2023 at 12:59 pm #13020529

Dimitri

Hello,
While debugging a website, I see many PHP Deprecated alerts for obsolete function.

Maybe a good idea to replace obsolete functions with current ones.

Concerned file is "sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/LanguageSwitcher/LanguageSwitcher.php"

Error logs:
[12-Feb-2023 01:07:46 UTC] PHP Deprecated: elementor/widgets/widgets_registered est obsolète depuis la version 3.5.0 ! Utilisez elementor/widgets/register à la place. in /public/wp-includes/functions.php on line 5758
[12-Feb-2023 01:07:46 UTC] PHP Deprecated: La fonction Elementor\Widgets_Manager::register_widget_type est obsolète depuis la version 3.5.0 ! Utilisez register à la place. in /public/wp-includes/functions.php on line 5383
[12-Feb-2023 01:08:04 UTC] PHP Deprecated: elementor/widgets/widgets_registered est obsolète depuis la version 3.5.0 ! Utilisez elementor/widgets/register à la place. in /public/wp-includes/functions.php on line 5758
[12-Feb-2023 01:08:04 UTC] PHP Deprecated: La fonction Elementor\Widgets_Manager::register_widget_type est obsolète depuis la version 3.5.0 ! Utilisez register à la place. in /var/www/amelotproperties/public/wp-includes/functions.php on line 5383

February 13, 2023 at 2:11 pm #13021455

Johan

Hello,

This error is known and will be fixed in our new version: https://wpml.org/errata/elementor-deprecated-function-elementorwidgets_managerregister_widget_type/

Thanks for your understanding.
Johan