Home Forums WoodMart support forum Fatal error

Fatal error

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

    m.grzywacz
    Participant

    I have the problem described below. A single product layout prepared in Layouts was copied to Elementor templates and eventually used on the product page. Please help me.

    `Fatal error: Uncaught Error: Call to a member function get_gallery_image_ids() on null in /mnt/customers/customers-bh-3k27aq/dd9b951b-260b-4cb8-805a-76b9703d04de/wp-content/wp-content/themes/woodmart/woocommerce/single-product/product-image.php:27 Stack trace: #0 /mnt/customers/customers-bh-3k27aq/dd9b951b-260b-4cb8-805a-76b9703d04de/wp-content/wp-content/plugins/woocommerce/includes/wc-core-functions.php(346): include() #1 /mnt/customers/customers-bh-3k27aq/dd9b951b-260b-4cb8-805a-76b9703d04de/wp-content/wp-content/themes/woodmart/inc/modules/layouts/elementor/single-product/class-gallery.php(415): wc_get_template() #2 /mnt/shared-stack/plugins/elementor/3.28.1/includes/base/controls-stack.php(2374): XTS\Modules\Layouts\Gallery->render() #3 /mnt/shared-stack/plugins/elementor/3.28.1/includes/base/widget-base.php(636): Elementor\Controls_Stack->render_by_mode() #4 /mnt/shared-stack/plugins/elementor/3.28.1/includes/base/widget-base.php(757): Elementor\Widget_Base->render_content() #5 /mnt/shared-stack/plugins/elementor/3.28.1/includes/base/element-base.php(617): Elementor\Widget_Base->get_raw_data() #6 /mnt/shared-stack/plugins/elementor/3.28.1/includes/base/element-base.php(617): Elementor\Element_Base->get_raw_data() #7 /mnt/shared-stack/plugins/elementor/3.28.1/core/base/document.php(1086): Elementor\Element_Base->get_raw_data() #8 /mnt/shared-stack/plugins/elementor-pro/3.28.1/modules/theme-builder/documents/theme-document.php(435): Elementor\Core\Base\Document->get_elements_raw_data() #9 /mnt/shared-stack/plugins/elementor/3.28.1/core/base/document.php(739): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->get_elements_raw_data() #10 /mnt/shared-stack/plugins/elementor/3.28.1/modules/library/documents/library-document.php(66): Elementor\Core\Base\Document->get_initial_config() #11 /mnt/shared-stack/plugins/elementor-pro/3.28.1/modules/theme-builder/documents/theme-document.php(659): Elementor\Modules\Library\Documents\Library_Document->get_initial_config() #12 /mnt/shared-stack/plugins/elementor/3.28.1/includes/base/controls-stack.php(1071): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->get_initial_config() #13 /mnt/shared-stack/plugins/elementor/3.28.1/core/editor/loader/common/editor-common-scripts-settings.php(38): Elementor\Controls_Stack->get_config() #14 /mnt/shared-stack/plugins/elementor/3.28.1/core/editor/loader/v2/editor-v2-loader.php(159): Elementor\Core\Editor\Loader\Common\Editor_Common_Scripts_Settings::get() #15 /mnt/shared-stack/plugins/elementor/3.28.1/core/editor/editor.php(364): Elementor\Core\Editor\Loader\V2\Editor_V2_Loader->enqueue_scripts() #16 /mnt/customers/customers-bh-3k27aq/dd9b951b-260b-4cb8-805a-76b9703d04de/wp-content/wp-includes/class-wp-hook.php(324): Elementor\Core\Editor\Editor->enqueue_scripts() #17 /mnt/customers/customers-bh-3k27aq/dd9b951b-260b-4cb8-805a-76b9703d04de/wp-content/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #18 /mnt/customers/customers-bh-3k27aq/dd9b951b-260b-4cb8-805a-76b9703d04de/wp-content/wp-includes/plugin.php(517): WP_Hook->do_action() #19 /mnt/customers/customers-bh-3k27aq/dd9b951b-260b-4cb8-805a-76b9703d04de/wp-content/wp-includes/script-loader.php(2272): do_action() #20 /mnt/customers/customers-bh-3k27aq/dd9b951b-260b-4cb8-805a-76b9703d04de/wp-content/wp-includes/class-wp-hook.php(324): wp_enqueue_scripts() #21 /mnt/customers/customers-bh-3k27aq/dd9b951b-260b-4cb8-805a-76b9703d04de/wp-content/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #22 /mnt/customers/customers-bh-3k27aq/dd9b951b-260b-4cb8-805a-76b9703d04de/wp-content/wp-includes/plugin.php(517): WP_Hook->do_action() #23 /mnt/customers/customers-bh-3k27aq/dd9b951b-260b-4cb8-805a-76b9703d04de/wp-content/wp-includes/general-template.php(3064): do_action() #24 /mnt/shared-stack/plugins/elementor/3.28.1/includes/editor-templates/editor-wrapper.php(31): wp_head() #25 /mnt/shared-stack/plugins/elementor/3.28.1/core/editor/loader/v2/editor-v2-loader.php(209): include(‘…’) #26 /mnt/shared-stack/plugins/elementor/3.28.1/core/editor/editor.php(169): Elementor\Core\Editor\Loader\V2\Editor_V2_Loader->print_root_template() #27 /mnt/customers/customers-bh-3k27aq/dd9b951b-260b-4cb8-805a-76b9703d04de/wp-content/wp-includes/class-wp-hook.php(324): Elementor\Core\Editor\Editor->init() #28 /mnt/customers/customers-bh-3k27aq/dd9b951b-260b-4cb8-805a-76b9703d04de/wp-content/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #29 /mnt/customers/customers-bh-3k27aq/dd9b951b-260b-4cb8-805a-76b9703d04de/wp-content/wp-includes/plugin.php(517): WP_Hook->do_action() #30 /mnt/customers/customers-bh-3k27aq/dd9b951b-260b-4cb8-805a-76b9703d04de/wp-content/wp-admin/admin.php(419): do_action() #31 /mnt/customers/customers-bh-3k27aq/dd9b951b-260b-4cb8-805a-76b9703d04de/wp-content/wp-admin/post.php(12): require_once(‘…’) #32 {main} thrown in /mnt/customers/customers-bh-3k27aq/dd9b951b-260b-4cb8-805a-76b9703d04de/wp-content/wp-content/themes/woodmart/woocommerce/single-product/product-image.php on line 27

    #648464

    Artem Temos
    Keymaster

    Hello,

    Thank you so much for purchasing our theme and contacting our support center.

    Our single product page elements are built for our custom layouts only. You can use it on other pages on your website, unfortunately.

    Kind Regards
    XTemos Studio

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