Home Forums WoodMart support forum PHP Deprecated: Function

PHP Deprecated: Function

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #716562

    spnutratea
    Participant

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

    #716624

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    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

    #716653

    spnutratea
    Participant

    Hi 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,
    SP

    #716686

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    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.

    #716714

    spnutratea
    Participant

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

    #716743

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    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

Viewing 6 posts - 1 through 6 (of 6 total)