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
- This topic has 4 replies, 2 voices, and was last updated 58 minutes ago by
fahadmasood455.
-
AuthorPosts
-
April 23, 2025 at 11:35 am #656039
fahadmasood455ParticipantDear 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: WoodmartWooCommerce: 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.April 23, 2025 at 11:41 am #656044
Artem TemosKeymasterHello,
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
April 23, 2025 at 11:47 am #656052
fahadmasood455ParticipantThank 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.
April 23, 2025 at 2:16 pm #656078
Artem TemosKeymasterPlease disable all plugins that are not related to our theme temporarily so we can check.
April 23, 2025 at 2:20 pm #656079
fahadmasood455ParticipantI successfully deactivated the plugins.
-
This topic was modified 3 hours, 42 minutes ago by
-
AuthorPosts
- You must be logged in to create new topics. Login / Register