Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #4023160
Critical Compatibility Issues - we can no longer use the plugin
Open

Comments

  •  1
    vahana started the conversation

    Dear WPC Support,

    We can no longer use the plugin. SO I'm sharing our findings incase you can solve this in your next update. 

    I’m contacting you regarding critical compatibility issues we’ve encountered with the WPC Product Bundles for WooCommerce plugin on our live WooCommerce store.

    We rely on a multilingual setup using WPML + WooCommerce Multilingual, and our shipping system is handled through the Chronopost plugin by Adexos (version 3.0.3).

    📉 Summary of Issues

    When WPC Product Bundles is active, we consistently experience:

    1. Fatal Errors During Checkout
    • File affected: class-wc-cart-totals.php
    • Error:
      pgsql
      CopyEdit
      Call to a member function get_tax_class() on null
      
    • Cause: Bundle items or components are being added to the cart as null, leading to crashes during tax calculation.
    2. Multilingual Compatibility Problems
    • WPML throws errors due to missing cart item data like:
      php
      CopyEdit
      Undefined array key "product_id", "variation_id", "quantity"
      
    • These indicate that bundle components are not properly populated in translated versions or during cart simulation (e.g., PayPal Express flows).
    3. Shipping Plugin Conflicts
    • The Chronopost plugin (used for relay point selection) fails when bundle products are in the cart.
    • Specific error from Chronopost:
      pgsql
      CopyEdit
      Cannot access offset of type string on string in chronorelais.php on line 154
      
    • This disappears completely when the bundle plugin is deactivated, confirming the link.
    ✅ Additional Testing We’ve Done
    • With WPC Product Bundles disabled, all checkout flows work perfectly:
      • No errors with WPML translations
      • Chronopost relay selection works smoothly
      • No cart or tax crashes
    • We also tested with and without PayPal cart simulation, and only encounter issues when the bundle plugin is active.
    📌 Request

    Please advise if:

    1. This issue is known and being worked on
    2. There’s a recommended workaround or patch to ensure:
      • Clean cart item structure for bundled products
      • Proper compatibility with WPML and external shipping plugins
    3. Future updates will address null-value prevention in cart item data

    We're happy to help you reproduce the issue in a test environment if needed.

    Thank you for your time and support.

    Best regards,

  •  1,463
    Dustin replied

    Hi Vahana,

    Thanks so much for your evident and detailed error messages!

    Can you tell me which version of WPC Product Bundles you are using that causes these issues?

    Best regards,
    Dustin