Home / Forums / WoodMart support forum / website critical error update new version
Home › Forums › WoodMart support forum › website critical error update new version
website critical error update new version
- This topic has 7 replies, 2 voices, and was last updated 2 months ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
April 30, 2026 at 5:08 pm #717315
websyflex.comParticipantHi XTemos Support,
I’m trying to update WoodMart on my site, but the latest theme version (8.4.1) causes a fatal error.
Current situation:
– Current working theme version: WoodMart 7.6.0
– Theme version I’m updating to: WoodMart 8.4.1
– When I activate WoodMart 8.4.1, the site throws a critical error (E_ERROR).
– The error happens when WooCommerce is enabled. Without WooCommerce the site works.Fatal error details:
Uncaught Error: Call to undefined function woodmart_get_default_image_sizes()
File: /wp-content/themes/woodmart/inc/admin/metaboxes/pages.php
Line: 247Stack trace ends in:
…/wp-admin/admin-ajax.phpI also don’t get any update prompt for the WoodMart Core plugin under WoodMart → Plugins after activating 8.4.1, and the WoodMart Core plugin package is not included/updated in the ThemeForest download (at least I can’t find a newer core plugin zip in the package).
Could you please advise:
1) Which exact WoodMart Core plugin version is required for theme 8.4.1?
2) Where can I download the correct WoodMart Core plugin version (separately), so I can update it manually?
3) If this is a known compatibility issue with WooCommerce, what’s the recommended compatible WooCommerce version for WoodMart 8.4.1?Thanks in advance!
Kind regards,
OscarMay 1, 2026 at 10:30 am #717347Hello,
You can update the core plugin via WoodMart > Plugins. If the issue remains after updating the core plugin, Please deactivate all the 3rd party plugins and activate only theme-required plugins on the site and then check the issue. I am sure your issue will be solved. Then, activate the 3rd party plugins one by one and check which plugin is creating the issue for you.
Otherwise, if the issue still exists then keep the 3rd party plugins deactivated and share the WP admin login details of your site so I will check and give you a possible solution.
Best Regards
May 1, 2026 at 11:31 am #717349
websyflex.comParticipantThanks for your suggestion. I tested by disabling 3rd party plugins and enabling them one-by-one. The issue appears to be caused by Elementor / Elementor Pro in combination with WooCommerce.
Current status:
– wp-admin works fine (no critical error in the backend)
– Frontend crashes (critical error) as soon as WooCommerce + Elementor Pro are active together on WoodMart 8.4.1
– If Elementor Pro is disabled, the frontend works again (with WooCommerce enabled)Could you please help me identify the exact compatibility issue between WoodMart 8.4.1 and Elementor Pro (WooCommerce Builder/templates), and advise the recommended configuration?
If you need it, I can provide:
– WP_DEBUG log excerpt from wp-content/debug.log (please tell me what to look for / which request to reproduce)
– WP admin login (with only required plugins + Elementor/Pro enabled)May 1, 2026 at 3:19 pm #717365Hello,
Sorry to hear about the inconvenience. Kindly, please share your Site WP-ADMIN Login details in the Private Content field so that we can check this concern on your Site and help you out accordingly.
Best Regards
May 1, 2026 at 5:10 pm #717378
websyflex.comParticipantWe managed to get the site stable again, and I wanted to share what we found and ask for confirmation on the correct approach.
Issue After updating to WoodMart 8.4.1 (with WoodMart Core active), the site was hitting a “critical error” / PHP fatal error caused by class redeclaration inside WoodMart’s Elementor/WooCommerce layout module. The fatal errors referenced files like:
wp-content/themes/woodmart/inc/modules/layouts/elementor/woocommerce/class-free-gifts.php
wp-content/themes/woodmart/inc/modules/layouts/elementor/woocommerce/class-page-title.php
This strongly suggests the same classes are being loaded from more than one place (theme vs. core plugin/module), resulting in a fatal “cannot redeclare class …” situation.What we did to fix it As a workaround we removed the following folder from the WoodMart theme:
wp-content/themes/woodmart/inc/modules/layouts/elementor/woocommerce/
After removing this directory, the website started working normally again.Questions
Can you confirm whether that folder is safe to remove on WoodMart 8.4.1 (i.e., is it expected to be provided by WoodMart Core and not required in the theme)?
Could removing it cause any functional issues (Elementor templates, WooCommerce layouts, widgets) that we should be aware of?
If it is safe to remove, is this something that will be addressed in an upcoming release so it doesn’t reappear on every theme update?
If you need it, we can provide the full fatal error stack trace from the server logs.Thanks in advance.
May 2, 2026 at 9:22 am #717403Hello,
Thank you for your detailed findings. The issue is most likely due to a version mismatch between WoodMart 8.4.1 and the WoodMart Core plugin, causing duplicate class declarations. While removing the folder temporarily fixes the error, it is not recommended as it may break functionality and will be reverted on updates.Please ensure the WoodMart Core plugin is updated to the correct version via WoodMart > Plugins, or reinstall it after re-uploading the latest theme.
If the issue remains, Please deactivate all the 3rd party plugins and activate only theme-required plugins on the site and then check the issue. I am sure your issue will be solved. Then Activate the 3rd party plugins one by one and check which plugin is creating the issue for you.
Otherwise, if the issue still exists, then keep the 3rd party plugins deactivated and share the WP admin login details of your site so I can check and give you a possible solution.
Best Regards
May 4, 2026 at 9:54 am #717486
websyflex.comParticipantWe are currently running WoodMart theme v8.4.1 (parent) with a child theme. In the WoodMart → Plugins dashboard, the WoodMart Core plugin is listed as v1.1.6. When attempting to update, the installer confirms it is replacing version 1.1.6 with 1.1.6.
Could you please confirm that WoodMart Core v1.1.6 is indeed the latest and correct version compatible with theme v8.4.1?
Regarding the “critical error” we encountered (duplicate class declaration): we temporarily resolved this by removing a folder containing duplicate WoodMart files, after which the site became stable again. However, you previously mentioned that deleting theme/plugin folders manually is not the recommended approach. We would like to resolve this in a “supported” way to ensure the site remains stable and update-safe.
Could you please advise on:
Which exact files or folders should be checked for duplicate loading?
What is the recommended fix if a duplicate class error occurs specifically with WoodMart 8.4.1 and Core 1.1.6?
If there is a specific build or a different version of the Core plugin we should be using, please let us know or provide a download link.Thanks in advance for your help!
May 4, 2026 at 2:27 pm #717519Hello,
We have tested the latest version of the theme (WoodMart 8.4.1) on our end along with the WoodMart Core plugin v1.1.6, and everything is working correctly without any errors. This confirms that the issue is not related to the theme itself or its default compatibility with the core plugin.
The problem you experienced is most likely caused by a local setup issue, such as incomplete updates, duplicate files, caching, or a conflict with third-party plugins or custom modifications. We recommend ensuring that both the theme and the WoodMart Core plugin are installed fresh (by deleting and reinstalling them), and then testing with only the required plugins active.
If the issue still persists after a clean setup, please provide your WP-admin access so we can investigate it directly on your site and identify the exact cause.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register