Fatal error: Uncaught Error: Call to a member function get_gallery_image_ids() on null in /data01/virt85842/domeenid/www.myavis.ee/htdocs/wp/ee/wp-content/themes/flatsome-child-myavis/inc/woocommerce-overrides.php:166 Stack trace: #0 /data01/virt85842/domeenid/www.myavis.ee/htdocs/wp/ee/wp-includes/class-wp-hook.php(326): default_to_first_gallery_image('') #1 /data01/virt85842/domeenid/www.myavis.ee/htdocs/wp/ee/wp-includes/plugin.php(205): WP_Hook->apply_filters('', Array) #2 /data01/virt85842/domeenid/www.myavis.ee/htdocs/wp/ee/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(884): apply_filters('woocommerce_pro...', '', Object(WC_Product_Simple)) #3 /data01/virt85842/domeenid/www.myavis.ee/htdocs/wp/ee/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(673): WC_Data->get_prop('image_id', 'view') #4 /data01/virt85842/domeenid/www.myavis.ee/htdocs/wp/ee/wp-content/plugins/woocommerce/src/StoreApi/Schemas/V1/ProductSchema.php(501): WC_Product->get_image_id() #5 /data01/virt85842/domeenid/www.myavis.ee/htdocs/wp/ee/wp-content/plugins/woocommerce/src/StoreApi/Schemas/V1/ProductSchema.php(470): Automattic\WooCommerce\StoreApi\Schemas\V1\ProductSchema->get_images(Object(WC_Product_Simple)) #6 [internal function]: Automattic\WooCommerce\StoreApi\Schemas\V1\ProductSchema->get_item_response(Object(WC_Product_Simple)) #7 /data01/virt85842/domeenid/www.myavis.ee/htdocs/wp/ee/wp-content/plugins/woocommerce/src/Blocks/BlockTypes/AbstractProductGrid.php(113): array_map(Array, Array) #8 /data01/virt85842/domeenid/www.myavis.ee/htdocs/wp/ee/wp-content/plugins/woocommerce/src/Blocks/BlockTypes/AbstractBlock.php(97): Automattic\WooCommerce\Blocks\BlockTypes\AbstractProductGrid->render(Array, '', Object(WP_Block)) #9 /data01/virt85842/domeenid/www.myavis.ee/htdocs/wp/ee/wp-includes/class-wp-block.php(463): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->render_callback(Array, '', Object(WP_Block)) #10 /data01/virt85842/domeenid/www.myavis.ee/htdocs/wp/ee/wp-includes/class-wp-block.php(443): WP_Block->render() #11 /data01/virt85842/domeenid/www.myavis.ee/htdocs/wp/ee/wp-includes/class-wp-block.php(443): WP_Block->render() #12 /data01/virt85842/domeenid/www.myavis.ee/htdocs/wp/ee/wp-includes/blocks.php(1705): WP_Block->render() #13 /data01/virt85842/domeenid/www.myavis.ee/htdocs/wp/ee/wp-includes/blocks.php(1743): render_block(Array) #14 /data01/virt85842/domeenid/www.myavis.ee/htdocs/wp/ee/wp-includes/class-wp-hook.php(324): do_blocks('<!-- wp:woocomm...') #15 /data01/virt85842/domeenid/www.myavis.ee/htdocs/wp/ee/wp-includes/plugin.php(205): WP_Hook->apply_filters('<!-- wp:woocomm...', Array) #16 /data01/virt85842/domeenid/www.myavis.ee/htdocs/wp/ee/wp-includes/post-template.php(256): apply_filters('the_content', '<!-- wp:woocomm...') #17 /data01/virt85842/domeenid/www.myavis.ee/htdocs/wp/ee/wp-content/themes/flatsome/page.php(33): the_content() #18 /data01/virt85842/domeenid/www.myavis.ee/htdocs/wp/ee/wp-includes/template-loader.php(106): include('/data01/virt858...') #19 /data01/virt85842/domeenid/www.myavis.ee/htdocs/wp/ee/wp-blog-header.php(19): require_once('/data01/virt858...') #20 /data01/virt85842/domeenid/www.myavis.ee/htdocs/wp/ee/index.php(17): require('/data01/virt858...') #21 {main} thrown in /data01/virt85842/domeenid/www.myavis.ee/htdocs/wp/ee/wp-content/themes/flatsome-child-myavis/inc/woocommerce-overrides.php on line 166