Support » Plugin: Product Addons & Fields for WooCommerce » Fatal error when used with Product Bundles plugin

  • Resolved Srini G

    (@srinig)


    I use this plugin for a client website to add additional items to a particular product using checkboxes. The website also uses the WooCommerce Product Bundles Plugin.

    Now, when the item checkboxes are checked and the product is added to the cart, this fatal error message appears.

    Fatal error: Call to undefined function wc_pb_is_bundled_cart_item() in /wp-content/plugins/woocommerce-product-addon/inc/woocommerce.php on line 167

    When I comment out lines 167-169, the following error message appears in the cart page.

    Fatal error: Call to undefined function wc_pb_is_bundled_cart_item() in /wp-content/plugins/woocommerce-product-addon/inc/woocommerce.php on line 466

    And when I comment out lines 466 to 468, the error message disappears and things work as expected, or so it seems for now.

    Please fix this as soon as possible.

    • This topic was modified 5 years, 4 months ago by Srini G. Reason: Added link to related plugin
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Fatal error when used with Product Bundles plugin’ is closed to new replies.