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 5 posts - 1 through 5 (of 5 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 3 hours, 42 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.

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