Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
If you're experiencing errors with WPML after upgrading your hosting server to PHP 8.2, such as deprecated notices for dynamic properties in WPML_LS_Menu_Item, you are not alone.
Solution:
We recommend updating WPML to the latest version, specifically WPML 4.6.13, which addresses these issues. You can update the plugins to their latest versions by following the steps provided in our documentation here: WPML Documentation.

If this solution does not apply to your case because it might be outdated or not relevant to your specific situation, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If issues persist, please open a new support ticket at our support forum.

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 Itamar 9 months, 3 weeks ago.

Assisted by: Itamar.

Author Posts
August 13, 2024 at 6:32 pm #16067718

ryanR-5

Background of the issue:
When upgrading the hosting server to 8.2 from 8.0 on the development site hosted on Azure, several errors related to WPML show.

This is the live site - hidden link

Symptoms:
Several WPML related errors

Questions:

August 13, 2024 at 7:04 pm #16067786

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

After closing this chat, I discovered that the following errors on your site had already been reported to us.

Deprecated: Creation of dynamic property WPML_LS_Menu_Item::$current is deprecated in /home/site/wwwroot/wp-includes/nav-menu-template.php on line 394

Deprecated: Creation of dynamic property WPML_LS_Menu_Item::$current_item_ancestor is deprecated in /home/site/wwwroot/wp-includes/nav-menu-template.php on line 540

Deprecated: Creation of dynamic property WPML_LS_Menu_Item::$current_item_parent is deprecated in /home/site/wwwroot/wp-includes/nav-menu-template.php on line 541

The issue has been escalated to our developers and will be fixed in a future version of WPML.
We'll keep you updated here once the version with the fix is released.

For any other issues, please open a new ticket in our support forum.

Thanks,
Itamar.

August 21, 2024 at 9:51 am #16089550

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

The issue in this ticket has been fixed with the latest version of WPML 4.6.13
Please update our plugins to their latest versions.

I'm closing this ticket.
Don't hesitate to contact us again with any WPML issues or questions.

Regards,
Itamar.