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 7 replies, 2 voices, and was last updated 47 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 7 hours, 16 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.
April 23, 2025 at 4:27 pm #656129
Artem TemosKeymasterHello,
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
April 23, 2025 at 6:04 pm #656166
fahadmasood455ParticipantI 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!
April 23, 2025 at 6:06 pm #656167
fahadmasood455ParticipantI 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!
-
This topic was modified 7 hours, 16 minutes ago by
-
AuthorPosts
- You must be logged in to create new topics. Login / Register