Skip Navigation

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

Problem:
If you're navigating your site with WP_DEBUG set to true and encountering deprecation warnings like 'Deprecated: Creation of dynamic property wpml_cms_nav_cache::$name is deprecated...' and similar messages from the wpml-cms-nav plugin, this indicates known issues that we are aware of.
Solution:
We recommend continuing to use your site as these warnings should not impact its functionality. Our development team is working on addressing these in future updates of the plugin. If these warnings are causing issues or you need further assistance, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins.

If the solution provided here is not applicable or if the problem persists, we highly recommend opening a new support ticket at WPML support forum for further assistance.

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 0 voices.

Last updated by Andrey 1 week, 6 days ago.

Assisted by: Andrey.

Author Posts
March 24, 2025 at 3:57 pm #16853176

boB-6

Background of the issue:
I am trying to navigate my site with WP_DEBUG set to true.

Symptoms:
I expected to see no deprecation warning. Instead, I got: Deprecated: Creation of dynamic property wpml_cms_nav_cache::$name is deprecated in /usr/share/nginx/html/wp-content/plugins/wpml-cms-nav/inc/cache.class.php on line 36. Deprecated: Creation of dynamic property wpml_cms_nav_cache::$cache_to_option is deprecated in /usr/share/nginx/html/wp-content/plugins/wpml-cms-nav/inc/cache.class.php on line 37.

Questions:

March 24, 2025 at 8:27 pm #16853932

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for contacting WPML support.

Our development team is aware of these warnings and will address them in future releases. The warning should not impact your site. Thank you for bringing this to our attention.