Fatal error: Uncaught Error: Call to a member function get_cart_contents_count() on null in /home/lavishbe/public_html/wp-content/plugins/elementor-pro/modules/woocommerce/widgets/cart.php:2647
Stack trace:
#0 /home/lavishbe/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(2325): ElementorPro\Modules\Woocommerce\Widgets\Cart->render()
#1 /home/lavishbe/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(635): Elementor\Controls_Stack->render_by_mode()
#2 /home/lavishbe/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(776): Elementor\Widget_Base->render_content()
#3 /home/lavishbe/public_html/wp-content/plugins/elementor/includes/base/element-base.php(483): Elementor\Widget_Base->print_content()
#4 /home/lavishbe/public_html/wp-content/plugins/elementor/includes/base/element-base.php(1440): Elementor\Element_Base->print_element()
#5 /home/lavishbe/public_html/wp-content/plugins/elementor/includes/base/element-base.php(483): Elementor\Element_Base->print_content()
#6 /home/lavishbe/public_html/wp-content/plugins/elementor/core/base/document.php(1875): Elementor\Element_Base->print_element()
#7 /home/lavishbe/public_html/wp-content/plugins/elementor/core/base/document.php(1800): Elementor\Core\Base\Document->do_print_elements(Array)
#8 /home/lavishbe/public_html/wp-content/plugins/elementor/core/base/document.php(1201): Elementor\Core\Base\Document->print_elements(Array)
#9 /home/lavishbe/public_html/wp-content/plugins/elementor/includes/frontend.php(1158): Elementor\Core\Base\Document->print_elements_with_wrapper(Array)
#10 /home/lavishbe/public_html/wp-content/plugins/elementor/includes/frontend.php(1053): Elementor\Frontend->get_builder_content(10)
#11 /home/lavishbe/public_html/wp-includes/class-wp-hook.php(324): Elementor\Frontend->apply_builder_in_content('<!--open contai...')
#12 /home/lavishbe/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters('<!--open contai...', Array)
#13 /home/lavishbe/public_html/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1933): apply_filters('the_content', '<!--open contai...')
#14 /home/lavishbe/public_html/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(635): WP_REST_Posts_Controller->prepare_item_for_response(Object(WP_Post), Object(WP_REST_Request))
#15 /home/lavishbe/public_html/wp-includes/rest-api/class-wp-rest-server.php(1292): WP_REST_Posts_Controller->get_item(Object(WP_REST_Request))
#16 /home/lavishbe/public_html/wp-includes/rest-api/class-wp-rest-server.php(1125): WP_REST_Server->respond_to_request(Object(WP_REST_Request), '/wp/v2/pages/(?...', Array, NULL)
#17 /home/lavishbe/public_html/wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->dispatch(Object(WP_REST_Request))
#18 /home/lavishbe/public_html/wp-includes/rest-api.php(449): WP_REST_Server->serve_request('/wp/v2/pages/10')
#19 /home/lavishbe/public_html/wp-includes/class-wp-hook.php(324): rest_api_loaded(Object(WP))
#20 /home/lavishbe/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#21 /home/lavishbe/public_html/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
#22 /home/lavishbe/public_html/wp-includes/class-wp.php(418): do_action_ref_array('parse_request', Array)
#23 /home/lavishbe/public_html/wp-includes/class-wp.php(813): WP->parse_request('')
#24 /home/lavishbe/public_html/wp-includes/functions.php(1336): WP->main('')
#25 /home/lavishbe/public_html/wp-blog-header.php(16): wp()
#26 /home/lavishbe/public_html/index.php(17): require('/home/lavishbe/...')
#27 {main}
thrown in
/home/lavishbe/public_html/wp-content/plugins/elementor-pro/modules/woocommerce/widgets/cart.php on line
2647