Fatal error: Uncaught Error: Call to a member function get_type() on bool in /htdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php:1688
Stack trace:
#0 /htdocs/wp-content/plugins/elementor-pro/modules/woocommerce/widgets/add-to-cart.php(284): woocommerce_template_single_add_to_cart()
#1 /htdocs/wp-content/plugins/elementor-pro/modules/woocommerce/widgets/add-to-cart.php(191): ElementorPro\Modules\Woocommerce\Widgets\Add_To_Cart->render_form_button(false)
#2 /htdocs/wp-content/plugins/elementor/includes/base/controls-stack.php(2223): ElementorPro\Modules\Woocommerce\Widgets\Add_To_Cart->render()
#3 /htdocs/wp-content/plugins/elementor/includes/base/widget-base.php(609): Elementor\Controls_Stack->render_by_mode()
#4 /htdocs/wp-content/plugins/elementor/includes/base/widget-base.php(750): Elementor\Widget_Base->render_content()
#5 /htdocs/wp-content/plugins/elementor/includes/base/element-base.php(447): Elementor\Widget_Base->print_content()
#6 /htdocs/wp-content/plugins/elementor/includes/base/element-base.php(787): Elementor\Element_Base->print_element()
#7 /htdocs/wp-content/plugins/elementor/includes/base/element-base.php(447): Elementor\Element_Base->print_content()
#8 /htdocs/wp-content/plugins/elementor/includes/base/element-base.php(787): Elementor\Element_Base->print_element()
#9 /htdocs/wp-content/plugins/elementor/includes/base/element-base.php(447): Elementor\Element_Base->print_content()
#10 /htdocs/wp-content/plugins/elementor/includes/base/element-base.php(787): Elementor\Element_Base->print_element()
#11 /htdocs/wp-content/plugins/elementor/includes/base/element-base.php(447): Elementor\Element_Base->print_content()
#12 /htdocs/wp-content/plugins/elementor/includes/base/element-base.php(787): Elementor\Element_Base->print_element()
#13 /htdocs/wp-content/plugins/elementor/includes/base/element-base.php(447): Elementor\Element_Base->print_content()
#14 /htdocs/wp-content/plugins/elementor/core/base/document.php(1635): Elementor\Element_Base->print_element()
#15 /htdocs/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(417): Elementor\Core\Base\Document->print_elements(Array)
#16 /htdocs/wp-content/plugins/elementor/includes/frontend.php(1092): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->print_elements_with_wrapper(Array)
#17 /htdocs/wp-content/plugins/elementor/core/base/document.php(1135): Elementor\Frontend->get_builder_content(1053, false)
#18 /htdocs/wp-content/plugins/elementor/modules/library/documents/library-document.php(76): Elementor\Core\Base\Document->get_content(false)
#19 /htdocs/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(157): Elementor\Modules\Library\Documents\Library_Document->get_content(false)
#20 /htdocs/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(172): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->get_content()
#21 /htdocs/wp-content/plugins/elementor-pro/modules/theme-builder/documents/single-base.php(93): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->print_content()
#22 /htdocs/wp-content/plugins/elementor-pro/modules/woocommerce/documents/product.php(133): ElementorPro\Modules\ThemeBuilder\Documents\Single_Base->print_content()
#23 /htdocs/wp-content/plugins/elementor-pro/modules/theme-builder/classes/locations-manager.php(315): ElementorPro\Modules\Woocommerce\Documents\Product->print_content()
#24 /htdocs/wp-content/plugins/elementor-pro/modules/theme-builder/classes/locations-manager.php(191): ElementorPro\Modules\ThemeBuilder\Classes\Locations_Manager->do_location('single')
#25 [internal function]: ElementorPro\Modules\ThemeBuilder\Classes\Locations_Manager->ElementorPro\Modules\ThemeBuilder\Classes\{closure}()
#26 /htdocs/wp-content/plugins/elementor/modules/page-templates/module.php(207): call_user_func(Object(Closure))
#27 /htdocs/wp-content/plugins/elementor/modules/page-templates/templates/header-footer.php(19): Elementor\Modules\PageTemplates\Module->print_content()
#28 /htdocs/wp-includes/template-loader.php(106): include('/htdocs/wp-cont...')
#29 /htdocs/wp-blog-header.php(19): require_once('/htdocs/wp-incl...')
#30 /htdocs/index.php(17): require('/htdocs/wp-blog...')
#31 {main}
thrown in
/htdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line
1688