• Resolved andi2024

    (@andi2024)


    Hello,

    I am encountering an issue after updating the Variation Swatches for WooCommerce plugin to version 1.0.11. The error occurs when trying to display a bundled product that contains variable products utilizing variation swatches. The bundled product itself does not include any swatches, but its component products do.

    Here are the details:

    • WordPress version: 6.6.2
    • Active theme: Hello Elementor (Version 3.1.1)
    • WooCommerce Product Bundles: 8.1.1
    • PHP version: 8.1.19
    • Variation Swatches for WooCommerce: 1.0.11

    The error log shows the following:

    Error: Uncaught Error: Call to undefined method WC_Product_Bundle::get_available_variations() in /wp-content/plugins/variation-swatches-woo/inc/swatches.php:394
    Stack trace: 0 /wp-content/plugins/variation-swatches-woo/inc/swatches.php(304): CFVSW\Inc\Swatches->get_out_of_stock_attributes(Object(WC_Product_Bundle)) 1 /wp-includes/class-wp-hook.php(324): CFVSW\Inc\Swatches->variation_attribute_custom_html()

    I should note that this issue does not occur in version 1.0.10 of the plugin, but only after the update to version 1.0.11.

    Could you please advise how to resolve this or if there is a compatibility issue with WooCommerce Product Bundles?

    Thank you for your assistance!

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Aamir

    (@aamiribsf)

    Hello @andi2024,

    Greetings for the day!

    Thank you for providing the information. I will try to replicate the issue on my end with the WooCommerce product bundles and variation swatches plugin and share my findings with you.

    Best Regards,

    Thread Starter andi2024

    (@andi2024)

    Hello!

    Thank you for your feedback! I am happy to provide you with further information regarding my product configuration or the installed plugins if needed. Please let me know if I can assist you in any way.

    Best regards,

    Philip R

    (@pr-sib)

    Hello. Thank you for reporting this. I am also having the same issue with 1.0.11, with YITH WooCommerce Product Bundles. My error log is similar. Thank you for the excellent plugin and I look forward to the fix in due course. Meanwhile, I have reverted to 1.0.10.

    Fatal error: Uncaught Error: Call to undefined method WC_Product_Yith_Bundle::get_available_variations() in /home/notation/www/www/wp-content/plugins/variation-swatches-woo/inc/swatches.php:394 Stack trace: #0 /home/notation/www/www/wp-content/plugins/variation-swatches-woo/inc/swatches.php(304): CFVSW\Inc\Swatches->get_out_of_stock_attributes(Object(WC_Product_Yith_Bundle)) #1 /home/notation/www/www/wp-includes/class-wp-hook.php(324): CFVSW\Inc\Swatches->variation_attribute_custom_html(‘<select id=”yit…’, Array) #2 /home/notation/www/www/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘<select id=”yit…’, Array) #3 /home/notation/www/www/wp-content/plugins/woocommerce/includes/wc-template-functions.php(3260): apply_filters(‘woocommerce_dro…’, ‘<select id=”yit…’, Array) #4 /home/notation/www/www/wp-content/plugins/yith-woocommerce-product-bundles-premium/includes/functions.yith-wcpb.php(65): wc_dropdown_variation_attribute_options(Array) #5 /home/notation/www/www/wp-content/plugins/yith-woocommerce-product-bund in

    Plugin Support Aamir

    (@aamiribsf)

    Hello @andi2024,

    Thank you for writing back.

    We will reach out to you if we need any further information from your side. Currently, we have forwarded this to the team for further investigation.

    @pr-sib Thanks you for sharing this. I will also forward this error information to the team.

    Best Regards,

    Plugin Support Aamir

    (@aamiribsf)

    Hello?@andi2024,

    I wanted to provide you with an update regarding the issue with the WooCommerce Bundle Products plugin. I’m happy to inform you that the issue has been fixed and is currently undergoing testing. We plan to include this fix in the next plugin update.

    Thank you for your patience!

    Plugin Support Aamir

    (@aamiribsf)

    Hello?@andi2024, @pr-sib

    I wanted to update you that we released an update yesterday, which includes a fix for the issue you reported.

    Please update the Variation Swatches plugin to the latest version, as this should resolve the problem.

    Best regards,

    Thread Starter andi2024

    (@andi2024)

    Thanks so much. You’re the best. I already installed the update yesterday.

    Plugin Support Aamir

    (@aamiribsf)

    Hello @andi2024,?@pr-sib

    Thank you for the update! We’re thrilled to hear that everything is working perfectly for you now. ??

    If you’re happy with the plugin and our support, we’d greatly appreciate it if you could leave us a 5-star review. Your feedback helps us grow and serve you better!

    Thanks again for your kind words!

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.