Fatal error: Uncaught Error: Call to a member function is_in_stock() on null in /home/u223734889/domains/bestmarket.co.ao/public_html/wp-content/themes/motta/inc/woocommerce/product-card.php:618 Stack trace: #0 /home/u223734889/domains/bestmarket.co.ao/public_html/wp-includes/class-wp-hook.php(326): Motta\WooCommerce\Product_Card->custom_cart_button_text() #1 /home/u223734889/domains/bestmarket.co.ao/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() #2 /home/u223734889/domains/bestmarket.co.ao/public_html/wp-content/plugins/woocommerce/includes/class-wc-product-simple.php(62): apply_filters() #3 /home/u223734889/domains/bestmarket.co.ao/public_html/wp-content/plugins/woocommerce/src/StoreApi/Schemas/V1/ProductSchema.php(483): WC_Product_Simple->add_to_cart_text() #4 [internal function]: Automattic\WooCommerce\StoreApi\Schemas\V1\ProductSchema->get_item_response() #5 /home/u223734889/domains/bestmarket.co.ao/public_html/wp-content/plugins/woocommerce/src/Blocks/BlockTypes/AbstractProductGrid.php(114): array_map() #6 /home/u223734889/domains/bestmarket.co.ao/public_html/wp-content/plugins/woocommerce/src/Blocks/BlockTypes/AbstractBlock.php(98): Automattic\WooCommerce\Blocks\BlockTypes\AbstractProductGrid->render() #7 /home/u223734889/domains/bestmarket.co.ao/public_html/wp-includes/class-wp-block.php(519): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->render_callback() #8 /home/u223734889/domains/bestmarket.co.ao/public_html/wp-includes/class-wp-block.php(499): WP_Block->render() #9 /home/u223734889/domains/bestmarket.co.ao/public_html/wp-includes/class-wp-block.php(499): WP_Block->render() #10 /home/u223734889/domains/bestmarket.co.ao/public_html/wp-includes/blocks.php(2061): WP_Block->render() #11 /home/u223734889/domains/bestmarket.co.ao/public_html/wp-includes/blocks.php(2113): render_block() #12 /home/u223734889/domains/bestmarket.co.ao/public_html/wp-includes/class-wp-hook.php(324): do_blocks() #13 /home/u223734889/domains/bestmarket.co.ao/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() #14 /home/u223734889/domains/bestmarket.co.ao/public_html/wp-includes/post-template.php(256): apply_filters() #15 /home/u223734889/domains/bestmarket.co.ao/public_html/wp-content/themes/motta/template-parts/page/content-page.php(13): the_content() #16 /home/u223734889/domains/bestmarket.co.ao/public_html/wp-includes/template.php(812): require('/home/u22373488...') #17 /home/u223734889/domains/bestmarket.co.ao/public_html/wp-includes/template.php(745): load_template() #18 /home/u223734889/domains/bestmarket.co.ao/public_html/wp-includes/general-template.php(206): locate_template() #19 /home/u223734889/domains/bestmarket.co.ao/public_html/wp-content/themes/motta/page.php(22): get_template_part() #20 /home/u223734889/domains/bestmarket.co.ao/public_html/wp-includes/template-loader.php(106): include('/home/u22373488...') #21 /home/u223734889/domains/bestmarket.co.ao/public_html/wp-blog-header.php(19): require_once('/home/u22373488...') #22 /home/u223734889/domains/bestmarket.co.ao/public_html/index.php(17): require('/home/u22373488...') #23 {main} thrown in /home/u223734889/domains/bestmarket.co.ao/public_html/wp-content/themes/motta/inc/woocommerce/product-card.php on line 618