Homepage


Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in /home/mart1/public_html/wp-content/themes/shopical/inc/woocommerce.php:791 Stack trace: #0 /home/mart1/public_html/wp-content/themes/shopical/inc/woocommerce.php(791): method_exists(NULL, 'get_type') #1 /home/mart1/public_html/wp-includes/class-wp-hook.php(303): shopical_add_to_cart_text('Add to cart', Object(WC_Product_Simple)) #2 /home/mart1/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters('Add to cart', Array) #3 /home/mart1/public_html/wp-content/plugins/woocommerce/includes/class-wc-product-simple.php(62): apply_filters('woocommerce_pro...', 'Add to cart', Object(WC_Product_Simple)) #4 /home/mart1/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/Schemas/ProductSchema.php(460): WC_Product_Simple->add_to_cart_text() #5 [internal function]: Automattic\WooCommerce\Blocks\StoreApi\Schemas\ProductSchema->get_item_response(Object(WC_Product_Simple)) #6 /home/mart1/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractProductGrid.php(93): array_map(Array, Array) #7 /home/mart1/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(87): Automattic\WooCommerce\Blocks\BlockTypes\AbstractProductGrid->render(Array, '\n\t\t\t\t<div class...') #8 /home/mart1/public_html/wp-includes/class-wp-block.php(221): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->render_callback(Array, '\n\t\t\t\t<div class...', Object(WP_Block)) #9 /home/mart1/public_html/wp-includes/blocks.php(868): WP_Block->render() #10 /home/mart1/public_html/wp-includes/blocks.php(906): render_block(Array) #11 /home/mart1/public_html/wp-includes/class-wp-hook.php(303): do_blocks('<!-- wp:cover {...') #12 /home/mart1/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters('<!-- wp:cover {...', Array) #13 /home/mart1/public_html/wp-includes/post-template.php(253): apply_filters('the_content', '<!-- wp:cover {...') #14 /home/mart1/public_html/wp-content/themes/shopical/template-parts/content-page.php(21): the_content() #15 /home/mart1/public_html/wp-includes/template.php(772): require('/home/mart1/pub...') #16 /home/mart1/public_html/wp-includes/template.php(716): load_template('/home/mart1/pub...', false, Array) #17 /home/mart1/public_html/wp-includes/general-template.php(204): locate_template(Array, true, false, Array) #18 /home/mart1/public_html/wp-content/themes/shopical/page.php(32): get_template_part('template-parts/...', 'page') #19 /home/mart1/public_html/wp-includes/template-loader.php(106): include('/home/mart1/pub...') #20 /home/mart1/public_html/wp-blog-header.php(19): require_once('/home/mart1/pub...') #21 /home/mart1/public_html/index.php(17): require('/home/mart1/pub...') #22 {main} thrown in /home/mart1/public_html/wp-content/themes/shopical/inc/woocommerce.php on line 791