Home Forums WoodMart support forum Critical Error in Dynamic Discounts Module Causing Product Page Crash in Admin

Critical Error in Dynamic Discounts Module Causing Product Page Crash in Admin

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #656039

    fahadmasood455
    Participant

    Dear Woodmart Support Team,

    I hope this message finds you well.

    I am experiencing a critical issue with the Woodmart theme on my WordPress website. The site runs fine on the front end, but whenever I attempt to open the Products tab in the WordPress admin dashboard, I encounter the following error message:

    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    After enabling WordPress debug mode, the error details are as follows:

    Warning: foreach() argument must be of type array|object, string given in /wp-content/themes/woodmart/inc/integrations/woocommerce/modules/dynamic-discounts/class-manager.php on line 194

    Fatal error: Uncaught TypeError: uasort(): Argument #1 ($array) must be of type array, string given in /wp-content/themes/woodmart/inc/integrations/woocommerce/modules/dynamic-discounts/class-manager.php:198

    It seems the issue is coming from the Dynamic Discounts module integrated with WooCommerce in the Woodmart theme.

    Website Info:
    Theme: Woodmart

    WooCommerce: Active and up to date

    WordPress: Running latest version

    I would appreciate it if you could look into this and let me know:

    If there is an update or patch available to fix this issue.

    Whether I can safely disable the Dynamic Discounts module temporarily.

    Any guidance or recommended fix on how to resolve the error.

    Looking forward to your response and assistance.

    Best regards,
    Fahad Masood
    aximart.com
    [email protected]

    • This topic was modified 7 hours, 16 minutes ago by fahadmasood455. Reason: spell mistake
    Attachments:
    You must be logged in to view attached files.
    #656044

    Artem Temos
    Keymaster

    Hello,

    Thank you so much for purchasing our WoodMart theme and for reaching out to our support center.

    Please disable any plugins not directly related to our theme and ensure that you have only the necessary plugins active for WoodMart to function properly: WoodMart core, WooCommerce, and Elementor/WPBakery Page Builder.

    If the issue persists, kindly provide us with your WordPress admin access details in the Private content field. This will allow us to log in to your dashboard and investigate the issue further.

    Thank you in advance for your cooperation.

    Regards

    #656052

    fahadmasood455
    Participant

    Thank you for your response and for looking into this issue.

    As requested, I’m providing temporary admin login credentials so you can access the WordPress dashboard and investigate the issue further.

    #656078

    Artem Temos
    Keymaster

    Please disable all plugins that are not related to our theme temporarily so we can check.

    #656079

    fahadmasood455
    Participant

    I successfully deactivated the plugins.

    #656129

    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

    #656166

    fahadmasood455
    Participant

    I just wanted to let you know that the issue has been successfully resolved after applying the patch you provided. The critical error is no longer appearing, and I’m now able to access the Products tab in the admin dashboard without any problems.

    Thank you so much for your prompt assistance and support. I truly appreciate your help in getting this fixed.

    Please keep up the great work!

    #656167

    fahadmasood455
    Participant

    I have a quick question regarding the Woodmart theme templates.

    I am currently using the Retail 2 template, but I would like to use the homepage layout from a different demo/template (e.g., another one of your pre-built homepages).

    Is it possible to import and use a different homepage design while keeping the rest of the Retail 2 template (header, footer, product layout, etc.) intact?

    If yes, could you please guide me on the best way to do this?

    Looking forward to your advice. Thank you again for your continued support!

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