Home Forums WoodMart support forum PHP 8.5 Compatibility: Deprecated functions in importer and vendor code -MEDIUM

PHP 8.5 Compatibility: Deprecated functions in importer and vendor code -MEDIUM

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #708794

    pavel.vutkow
    Participant

    Hi,
    We are migrating our WordPress site to PHP 8.3 and need a fix for the following issues found in the latest Woodmart theme and Woodmart Core plugin via PHPCompatibility scan.
    Woodmart Theme — 2 errors (affects PHP 8.3):
    File: inc/admin/modules/options/controls/group/class-group.php, lines 51 and 53
    Indirect access to variables, properties and methods is evaluated strictly in left-to-right order since PHP 7.0. Curly braces are needed to remove ambiguity. This may cause incorrect behavior in theme options group controls.
    Woodmart Theme — PHP 8.5 deprecations (8 warnings):
    File: inc/classes/class-registry.php, line 94
    Passing E_USER_ERROR to trigger_error() is deprecated since PHP 8.4. Should throw an exception or call exit instead.
    File: inc/modules/sticky-toolbar.php, lines 186–194 (7 warnings)
    Terminating switch case statements with a semicolon is deprecated since PHP 8.5. Replace semicolons with colons.
    Woodmart Core Plugin — PHP 8.5 deprecations (~20 warnings):

    importer/parsers/class-wxr-parser-simplexml.php — libxml_disable_entity_loader() deprecated since PHP 8.0
    xml_set_object() deprecated since PHP 8.4 — use closure callbacks
    curl_close() deprecated since PHP 8.5
    openssl_free_key() deprecated since PHP 8.0
    trigger_error() with E_USER_ERROR deprecated since PHP 8.4

    Request:
    We need a patch or hotfix for these issues, specifically the 2 errors in class-group.php which affect current PHP 8.3 behavior. Could you please provide a fix as soon as possible?
    Thank you.

    #708933

    Artem Temos
    Keymaster
    Xtemos team

    Hello,

    Thank you for letting us know. We will check and fix these issues for our next theme update 8.4.

    Kind Regards

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