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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #607472

    Marco
    Participant

    Hello 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.2

    Error 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,
    Marco

    Attachments:
    You must be logged in to view attached files.
    #607514

    Artem Temos
    Keymaster

    Hello,

    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 Builder

    Thank you in advance.

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