Home Forums WoodMart support forum URGENT: critical error due to dynamic discounting

URGENT: critical error due to dynamic discounting

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #664314

    admin-2104
    Participant

    My has had a critical error when working on a product and I am unsure how to fix it, I have added a code to the class-manager file that fixes it for now but as soon as the theme will update it will cause the crash again.

    The new code that fixed it:

    if ( ! is_array( $conditions ) || empty( $conditions ) ) {
    return false;
    }

    uasort( $conditions, array( $this, ‘sort_by_priority’ ) );

    but when I try make this change in child theme I get error 2 in private

    #664315

    admin-2104
    Participant

    I have attached credentials

    #664316

    admin-2104
    Participant

    sorry the correct fix code was

    #664566

    Artem Temos
    Keymaster

    Hello,

    You can fix it by applying patch # 656126. To do this, go to Dashboard -> WoodMart -> Patcher, find the corresponding patch and click on the “Apply” button. Let us know if it works for you.

    Kind Regards

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