So I have a variation product and when I use a shortcode of static blocks in the description of it. The homepage would break and the error is showed but the product page is working just fine
Error Details
=============
An error of type E_ERROR was caused in line 1973 of the file /home/storelin/public_html/wp-content/themes/xstore/framework/woo.php. Error message: Uncaught Error: Call to a member function get_type() on null in /home/storelin/public_html/wp-content/themes/xstore/framework/woo.php:1973
Stack trace:
#0 /home/storelin/public_html/wp-content/themes/xstore/woocommerce/content-product.php(515): etheme_product_cats()
#1 /home/storelin/public_html/wp-includes/template.php(772): require('/home/storelin/...')
#2 /home/storelin/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(284): load_template('/home/storelin/...', false)
#3 /home/storelin/public_html/wp-content/themes/xstore/framework/woo.php(624): wc_get_template_part('content', 'product')
#4 /home/storelin/public_html/wp-content/plugins/et-core-plugin/app/controllers/shortcodes/products.php(575): etheme_products(Array, '', 5, Array)
#5 /home/storelin/public_html/wp-content/plugins/et-core-plugin/templates/elementor/advanced-tabs.php(155): ETC\App\Controllers\Shortcodes\Products->products_shortcode(Array, '')
#6 /home/storelin/public_html/wp-content/plugins/et-core-plugin/core/view.php