WooCommerce Variable Products Turning Simple

This topic has 4 replies, 2 voices, and was last updated 4 months ago ago by Jack Richardson

  • Avatar: raghoo
    Raghoo
    Participant
    November 30, 2024 at 13:09

    The product SKU MAF188 is turned automatically to simple product from variable product, and the price is erased. I got the same issue earlier and I created a support ticket on Woo Support.

    https://www.reddit.com/r/woocommerce/comments/1gmlc6o/sos_woocommerce_variable_products_turning_simple/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

    https://wordpress.org/support/topic/automatic-randomized-conversion-of-variable-products-into-simple-products/#new-topic-0

    added wp activity log plufin as per the suggestion from your team last time https://madhurikaattires.com/wp-admin/admin.php?page=wsal-auditlog

    https://cdn.livechat-files.com/api/file/lc/att/8801096/d3f3c996fd492adb70087d95e239047b/Screenshot%202024-11-30%20135313.png

    my hosting provider pointed towards a php fatal issue from Xstore here: https://wpmudev.com/forums/topic/woocommerce-variable-products-turning-simple/?utm_medium=chat&utm_campaign=link-shared-in-chat&utm_source=livechat.com&utm_content=wpmudev.com

    It should be a variable product but it is showing as simple and the price went missing. Its showing sale start and end time as Array,
    My client or I don’t know how it got there. Please check the site and help me identify what the cause of this unexpected modification to the product data is. Please check and help with this. Thanks.

    3 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    December 2, 2024 at 15:04

    Dear @Raghoo,

    Thank you for reaching out to us, and please accept our apologies for the delay in responding.

    After reviewing your query, we noticed that this issue has not been reported previously on our forum. It appears to have arisen following recent updates to the WooCommerce plugin or other plugins installed on your website. Based on the forum links you shared, it seems this issue is not related to our theme but rather to WooCommerce itself.

    Additionally, we came across the following topic on the WordPress support forum: https://wordpress.org/support/topic/variable-products-switching-back-to-simple-products/. The discussion there includes suggestions from the author that may help resolve the issue.

    As our support team is dedicated to assisting with our own projects, we kindly recommend submitting your query on the WooCommerce support forum for further assistance. If you find a solution, we would greatly appreciate it if you could share it with us. This way, other customers who may encounter the same issue can benefit from the resolution.

    Thank you for your understanding and cooperation.

    Best regards,
    Jack Richardson
    The 8Theme Support Team

    Avatar: raghoo
    Raghoo
    Participant
    December 6, 2024 at 14:21

    Found this in the WooCommerce log: are you sure this has nothing to do with the issue?

    2024-12-02T00:46:53+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    {
    “error”: {
    “type”: 1,
    “file”: “/var/web/site/public_html/wp-content/themes/xstore/framework/woo.php”,
    “line”: 3528
    },
    “remote-logging”: true,
    “backtrace”: [
    “”,
    “#0 /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php(3495): et_get_product_variations(Object(WC_Product_Simple))”,
    “#1 /var/web/site/public_html/wp-includes/class-wp-hook.php(324): et_get_available_variation_images(40337)”,
    “#2 /var/web/site/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)”,
    “#3 /var/web/site/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)”,
    “#4 /var/web/site/public_html/wp-admin/admin-ajax.php(207): do_action(‘wp_ajax_nopriv_…’)”,
    “#5 {main}”,
    “thrown”
    ]
    }
    2024-12-02T01:08:42+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T01:31:44+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T01:32:42+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T02:06:54+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T02:07:58+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T02:23:01+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T02:28:51+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T02:34:24+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T02:34:58+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T02:37:52+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T02:59:02+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T03:01:24+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T03:08:32+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T03:29:49+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T03:31:18+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T03:42:28+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T03:43:56+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T03:53:54+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T03:54:35+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T03:55:29+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T04:08:50+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T04:22:40+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T04:38:25+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T04:38:53+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T04:48:09+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T05:03:46+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T05:30:20+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T05:30:32+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T05:38:15+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T05:46:37+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T05:55:37+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T06:01:49+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T06:09:00+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T06:15:28+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T06:25:27+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T06:36:13+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T06:42:54+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T06:49:48+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T06:52:18+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T06:55:19+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T07:01:03+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T07:03:26+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T07:18:10+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T07:18:30+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T07:19:18+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T07:20:48+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T07:22:43+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T07:24:25+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T07:24:41+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T07:25:33+00:00 Critical Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variations() in /var/web/site/public_html/wp-content/themes/xstore/framework/woo.php:3528
    Additional context
    2024-12-02T17:39:27+00:00 Critical Uncaught Error: Call to a member function get_tax_class() on null in /var/web/site/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:232
    Additional context

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    December 6, 2024 at 14:28

    Dear @Raghoo,

    We hope this message finds you well.

    The issues you are encountering in your error log appear to be related to a known problem within WooCommerce. Specifically, it seems that some variable products have been converted to simple products. As a result, the code initially designed to handle variable products is now being applied to simple products, which is likely causing the errors.

    We kindly recommend reaching out to WooCommerce support for assistance in addressing this issue. They should be able to help you resolve the unexpected switching of products from variable to simple and provide a suitable solution.

    Should you require any further assistance from our side, please do not hesitate to let us know.

    Best regards,
    The 8Theme Team

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.