Home › Forums › WoodMart support forum › Critical Fatal Errors in Apache Logs Related to Woodmart Theme
Critical Fatal Errors in Apache Logs Related to Woodmart Theme
- This topic has 1 reply, 2 voices, and was last updated 3 weeks, 4 days ago by Artem Temos.
-
AuthorPosts
-
October 24, 2024 at 10:03 pm #607472
MarcoParticipantHello Woodmart Support Team,
First of all, I love your theme – great work! Unfortunately, we’re facing some severe performance issues, and I would like to work together with you to identify the root cause. These problems are reflected in several fatal errors that appear in our Apache error logs, which are directly affecting the functionality of the site.
These errors are recorded in the Apache error logs and are causing significant issues on the site, affecting both functionality and user experience.
Website Details:
WordPress Version: [Current Version]
WooCommerce Version: [Current Version]
Woodmart Theme Version: [Current Version]
PHP Version: 8.2Error Description:
The following are some of the key errors from our Apache error log that seem to relate directly to the Woodmart theme and its integration with WooCommerce:
PHP Fatal error: Uncaught Error: Call to a member function get_type() on null in /wp-content/themes/woodmart/inc/integrations/woocommerce/modules/dynamic-discounts/class-main.php:113
This error occurs during the cart calculation, particularly when applying dynamic discounts, which causes the process to fail.
Undefined array keys causing issues with WooCommerce cart integration:
PHP Warning: Undefined array key “data” in /wp-content/themes/woodmart/inc/integrations/woocommerce/modules/dynamic-discounts/class-main.php on line 113
This warning indicates that some array keys are not being properly initialized before they are accessed, which could cause instability in the shopping cart functionality.
Fatal Error due to non-numeric value encountered in Elementor Integration:
PHP Fatal error: Uncaught TypeError: Unsupported operand types: string – int in /wp-content/themes/woodmart/inc/integrations/elementor/elements/products/products.php on line 379
This issue appears to be related to a non-numeric value being passed to a function in the Elementor integration, leading to a fatal crash.
Logs:
These errors have been consistently logged in our Apache error log, making it clear that they stem from the Woodmart theme’s interaction with WooCommerce and Elementor.
Attempted Solutions:
We have ensured that the WordPress, WooCommerce, and Woodmart theme installations are up to date.
We have also checked our server configurations and ensured that the PHP version is compatible.
Could you please assist in resolving these fatal errors? The site is experiencing frequent crashes due to these issues, and a solution would be greatly appreciated.
Thank you,
MarcoAttachments:
You must be logged in to view attached files.October 25, 2024 at 9:17 am #607514
Artem TemosKeymasterHello,
Please disable any plugins not directly related to our theme and provide us with your FTP access. We will log in to your dashboard and investigate the issue. Please ensure that you only keep the following plugins that are necessary for our theme to work correctly:
– WoodMart core
– WooCommerce
– Elementor/WPBakery Page BuilderThank you in advance.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register