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
Site URL: hidden Theme version: 8.1.2
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
Provide us with WP Dashboard and FTP access. We’ll check the issue in more detail.
Hi, access provided.
I think this is a bug and should be fixed in other upcoming updates.
Thank you. I have passed your issue to our developers. I’ll inform you once they fix that.
Can you tell me how long it will be?
Issue caused by the static block shortcode in the variation description if variation swatches are enabled on the grid. So, either disable variation swatches on the grid (that I did for you) or don’t use static block shortcode in the description.
Okay, Thank you.
Will this get fixed in the future update ?
Unfortunately, there is no way to fix that. So, use one of the offered solutions.
You must be logged in to reply to this topic.Log in/Sign up
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.