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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 -
- - - - - - -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Waqas Bin Hasan 10 months, 3 weeks ago.

Assisted by: Waqas Bin Hasan.

Author Posts
August 22, 2024 at 12:19 pm #16094881

bastiaanB-2

Background of the issue:
I am trying to show debug information in wp-content debug.log. The issue can be seen on this page: hidden link

Symptoms:
I encountered PHP Deprecated warnings: [22-Aug-2024 12:07:08 UTC] PHP Deprecated: Creation of dynamic property wpml_cms_nav_cache::$name is deprecated in /home/customer/www/calendar.worldwatercommunity.com/public_html/wp-content/plugins/wpml-cms-nav/inc/cache.class.php on line 36 [22-Aug-2024 12:07:08 UTC] PHP Deprecated: Creation of dynamic property wpml_cms_nav_cache::$cache_to_option is deprecated in /home/customer/www/calendar.worldwatercommunity.com/public_html/wp-content/plugins/wpml-cms-nav/inc/cache.class.php on line 37

Questions:
How can I resolve the PHP Deprecated warnings related to wpml_cms_nav_cache?
Is there an update or fix available for the WPML plugin to address these deprecated properties?

August 22, 2024 at 12:57 pm #16095037

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting the support.

I've enabled the debug information section for your next reply.

Additionally you can also take a look at https://wpml.org/faq/checklist-before-opening-a-ticket-in-wpml-support/ and cross-check for a few initial fixes.

See https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ for details on privacy and security.

Besides this, can you also try the following please?

1) Take a full backup of your site and database before proceeding.
2) Deactivate all plugins except WPML plugins.
3) Switch to a standard theme like 2024.
4) Check for the issue if it still happens.
5) Then start activating plugins one by one while keep checking for the issue. This way you 'll be able to pinpoint a conflict when & where it starts creating the problem.
6) If after activating all plugins you see that it still works fine, then switch to your theme and see if that's causing it.

Please let me know and I'll try my best to help you further on the matter.

Regards.

The topic ‘[Closed] PHP Deprecated line 36 and 27’ is closed to new replies.