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?
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.