Home Forums WoodMart support forum I faced critical error when i added elements in Single Product Page Layout

I faced critical error when i added elements in Single Product Page Layout

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #681741

    soumy.jain
    Participant

    Hi,

    I have faced an error after publishing the Single Product Layout in Woodmart theme. I have added stock elements by xtemos using elementor and then published. Then I went back to edit it and then it showed error (Shared Image below). Also got an email with the following errors. Kindly provide appropriate solution for the same. Thanks.

    Error Details
    =============
    An error of type E_ERROR was caused in line 303 of the file /home/u368543218/domains/vigorvolt.com/public_html/wp-content/themes/woodmart/inc/integrations/woocommerce/modules/sold-counter/class-main.php. Error message: Uncaught TypeError: Unsupported operand types: string * string in /home/u368543218/domains/vigorvolt.com/public_html/wp-content/themes/woodmart/inc/integrations/woocommerce/modules/sold-counter/class-main.php:303
    Stack trace:
    #0 /home/u368543218/domains/vigorvolt.com/public_html/wp-content/themes/woodmart/inc/integrations/woocommerce/modules/sold-counter/class-main.php(377): XTS\Modules\Sold_Counter\Main->get_product_sales_count_data()
    #1 /home/u368543218/domains/vigorvolt.com/public_html/wp-content/themes/woodmart/inc/modules/layouts/elementor/single-product/class-sold-counter.php(275): XTS\Modules\Sold_Counter\Main->render()
    #2 /home/u368543218/domains/vigorvolt.com/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(2374): XTS\Modules\Layouts\Sold_Counter->render()
    #3 /home/u368543218/domains/vigorvolt.com/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(636): Elementor\Controls_Stack->render_by_mode()
    #4 /home/u368543218/domains/vigorvolt.com/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(757): Elementor\Widget_Base->render_content()
    #5 /home/u368543218/domains/vigorvolt.com/public_html/wp-content/plugins/elementor/includes/base/element-base.php(627): Elementor\Widget_Base->get_raw_data()
    #6 /home/u368543218/domains/vigorvolt.com/public_html/wp-content/plugins/elementor/includes/base/element-base.php(627): Elementor\Element_Base->get_raw_data()
    #7 /home/u368543218/domains/vigorvolt.com/public_html/wp-content/plugins/elementor/includes/base/element-base.php(627): Elementor\Element_Base->get_raw_data()
    #8 /home/u368543218/domains/vigorvolt.com/public_html/wp-content/plugins/elementor/core/base/document.php(1094): Elementor\Element_Base->get_raw_data()
    #9 /home/u368543218/domains/vigorvolt.com/public_html/wp-content/plugins/elementor/core/base/document.php(745): Elementor\Core\Base\Document->get_elements_raw_data()
    #10 /home/u368543218/domains/vigorvolt.com/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(1071): Elementor\Core\Base\Document->get_initial_config()
    #11 /home/u368543218/domains/vigorvolt.com/public_html/wp-content/plugins/elementor/core/editor/loader/common/editor-common-scripts-settings.php(38): Elementor\Controls_Stack->get_config()
    #12 /home/u368543218/domains/vigorvolt.com/public_html/wp-content/plugins/elementor/core/editor/loader/v2/editor-v2-loader.php(167): Elementor\Core\Editor\Loader\Common\Editor_Common_Scripts_Settings::get()
    #13 /home/u368543218/domains/vigorvolt.com/public_html/wp-content/plugins/elementor/core/editor/editor.php(355): Elementor\Core\Editor\Loader\V2\Editor_V2_Loader->enqueue_scripts()
    #14 /home/u368543218/domains/vigorvolt.com/public_html/wp-includes/class-wp-hook.php(324): Elementor\Core\Editor\Editor->enqueue_scripts()
    #15 /home/u368543218/domains/vigorvolt.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #16 /home/u368543218/domains/vigorvolt.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #17 /home/u368543218/domains/vigorvolt.com/public_html/wp-includes/script-loader.php(2299): do_action()
    #18 /home/u368543218/domains/vigorvolt.com/public_html/wp-includes/class-wp-hook.php(324): wp_enqueue_scripts()
    #19 /home/u368543218/domains/vigorvolt.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #20 /home/u368543218/domains/vigorvolt.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #21 /home/u368543218/domains/vigorvolt.com/public_html/wp-includes/general-template.php(3192): do_action()
    #22 /home/u368543218/domains/vigorvolt.com/public_html/wp-content/plugins/elementor/includes/editor-templates/editor-wrapper.php(31): wp_head()
    #23 /home/u368543218/domains/vigorvolt.com/public_html/wp-content/plugins/elementor/core/editor/loader/v2/editor-v2-loader.php(217): include(‘/home/u36854321…’)
    #24 /home/u368543218/domains/vigorvolt.com/public_html/wp-content/plugins/elementor/core/editor/editor.php(160): Elementor\Core\Editor\Loader\V2\Editor_V2_Loader->print_root_template()
    #25 /home/u368543218/domains/vigorvolt.com/public_html/wp-includes/class-wp-hook.php(324): Elementor\Core\Editor\Editor->init()
    #26 /home/u368543218/domains/vigorvolt.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #27 /home/u368543218/domains/vigorvolt.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #28 /home/u368543218/domains/vigorvolt.com/public_html/wp-admin/admin.php(420): do_action()
    #29 /home/u368543218/domains/vigorvolt.com/public_html/wp-admin/post.php(12): require_once(‘/home/u36854321…’)
    #30 {main}
    thrown

    Attachments:
    You must be logged in to view attached files.
Viewing 1 post (of 1 total)