Home / Forums / WoodMart support forum / PHP Deprecated: Function
Home › Forums › WoodMart support forum › PHP Deprecated: Function
PHP Deprecated: Function
- This topic has 5 replies, 2 voices, and was last updated 2 months, 1 week ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
April 21, 2026 at 2:48 pm #716562
spnutrateaParticipant[21-Apr-2026 11:34:56 UTC] PHP Deprecated: Function woodmart_get_old_classes is deprecated since version 8.4 with no alternative available. in /home/u191999999/domains/domain.co.uk/public_html/wp-includes/functions.php on line 6131
I am using Woodmart Version: 8.4.1 but the debug log file shows a lot of errors. Could you please assist?
April 22, 2026 at 8:05 am #716624Hello,
Please deactivate all the 3rd party plugins and activate only theme-required plugins on the site and then check the issue. I am sure your issue will be solved. Then, activate the 3rd party plugins one by one and check which plugin is creating the issue for you.
Otherwise, if the issue still exists then keep the 3rd party plugins deactivated and share the WP admin login details of your site so I will check and give you a possible solution.
Best Regards
April 22, 2026 at 12:38 pm #716653
spnutrateaParticipantHi Aizaz,
Please read your theme update logs and answer. Otherwise, it will be wasting time for all of us.
https://xtemos.com/woodmart-8-4-update/
Second last line snapshot: https://prnt.sc/PXAgpGtXjb_w
Kind regards,
SPApril 22, 2026 at 4:02 pm #716686Hello,
Thank you for reaching out, and we apologize for the inconvenience.
In the 8.4 update, we marked the woodmart_get_old_classes function as deprecated to indicate that it is no longer used in the theme and will be completely removed in future versions.
In your case, this function is being used in a child theme or in custom code (for example, a code snippet). We recommend locating and removing all its usages from your custom code to prevent such notices in the future.
If you have any further questions, we’ll be happy to assist you.
Best Regards.
April 22, 2026 at 5:27 pm #716714
spnutrateaParticipantAs you have mentioned, it has been removed from the WoodMart theme version 8.4.1 that I am using now. Then why do I need to see my debug log is bloated with the snippet given initially?
April 23, 2026 at 10:10 am #716743Hello,
We did not remove the
woodmart_get_old_classesfunction, as doing so could have completely broken websites during the update.Instead, we integrated this function into the default WordPress deprecation mechanism. This means that WordPress now marks it as deprecated and displays a notice to developers indicating that using this function is not recommended, as it may be removed in future updates.
This approach allows us to maintain backward compatibility and gives developers time to update their code to avoid potential issues in the future.
Best Regards
-
AuthorPosts
Tagged: deprecated, function. old classes
- You must be logged in to create new topics. Login / Register