• Hi there,

    After clicking “Re-init variations” I get the error below.

    The same happens with only Woocommerce activated and default theme.

    Error Details ============= An error of type E_ERROR was caused in line 943 of the file /home/subdomains/2.sitename.dk/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php. Error message: Uncaught WC_Data_Exception: Invalid product tax status. in /home/subdomains/2.sitename.dk/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php:943 Stack trace: #0 /home/subdomains/2.sitename.dk/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(958): WC_Data->error() #1 /home/subdomains/2.sitename.dk/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-variation-data-store-cpt.php(440): WC_Product->set_tax_status() #2 /home/subdomains/2.sitename.dk/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-variation-data-store-cpt.php(85): WC_Product_Variation_Data_Store_CPT->read_product_data() #3 /home/subdomains/2.sitename.dk/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): WC_Product_Variation_Data_Store_CPT->read() #4 /home/subdomains/2.sitename.dk/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(143): WC_Data_Store->read() #5 /home/subdomains/2.sitename.dk/wp-content/plugins/woocommerce/includes/class-wc-product-simple.php(26): WC_Product->__construct() #6 /home/subdomains/2.sitename.dk/wp-content/plugins/woocommerce/includes/class-wc-product-variation.php(58): WC_Product_Simple->__construct() #7 /home/subdomains/2.sitename.dk/wp-content/plugins/wpc-show-single-variations/includes/class-admin.php(159): WC_Product_Variation->__construct() #8 /home/subdomains/2.sitename.dk/wp-includes/class-wp-hook.php(324): Woosv_Admin->setting_page_content() #9 /home/subdomains/2.sitename.dk/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #10 /home/subdomains/2.sitename.dk/wp-includes/plugin.php(517): WP_Hook->do_action() #11 /home/subdomains/2.sitename.dk/wp-admin/admin.php(259): do_action() #12 {main} thrown

    • This topic was modified 1 year, 2 months ago by pstidsen.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Janilyn T

    (@janilyn409)

    Hi @pstidsen ,

    From the error logs, possibly, our plugin could not generate the variations since there are unspecified parameters for variations on your site. It might be an issue with the tax status or tax class. Please check and configure all the needed details for variations before re-init the variation items.

    Remember to clear the caches before checking again on your site.

    Best regards.

    Thread Starter pstidsen

    (@pstidsen)

    Hi @janilyn409,

    I have checked, and all values are filled out. How can I debug further?

    / Peter

    Plugin Support Janilyn T

    (@janilyn409)

    Hi @pstidsen ,

    You can try the following steps:

    • Deactivate all other plugins, except WooCommerce and our WPC plugins. Check the functionality to see if it’s working or not.
    • Reactivate other plugins one by one to find the source of the conflict.
    • Change to our WPCstore theme or any other WooCommerce specialized theme to check.

    With these steps, you may find the source of the conflict with our plugin on your site. Remember to create a full backup before this process.

    Other than this, we cannot suggest any further clues since this issue will need further backend investigation before concluding anything.

    Best regards.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Re-init variations cause Fatal Error’ is closed to new replies.