Dear Support,
I have same issue.
Please update ASAP.
Warning: Missing argument 2 for wcpb_product_interface::wcpb_add_product_bundle_type() in /home/XXXXXX/public_html/XXXXXX/wp-content/plugins/wc-product-bundles/classes/admin-form.php on line 20
PHP 7.0.x, WP 4.7.2
PHP Warning: Missing argument 2 for wcpb_product_interface::wcpb_add_product_bundle_type(), called in /var/www/tac/wp-includes/class-wp-hook.php on line 298 and defined in /var/www/tac/wp-content/plugins/wc-product-bundles/classes/admin-form.php on line 20\n
hi,
same issue after an update of the product title
(no upgrade of any plugin or wordpress)…???
The same issue. Has anyone found a solution?
Thanks!
I changed two lines on admin-form.php:
from
add_filter( ‘product_type_selector’, array( $this, ‘wcpb_add_product_bundle_type’ ), 1, 2 );
TO
add_filter( ‘product_type_selector’, array( $this, ‘wcpb_add_product_bundle_type’ ), 1, 1 );
and
FROM
function wcpb_add_product_bundle_type( $ptypes, $ptype ) {
TO
function wcpb_add_product_bundle_type( $ptypes ) {
$ptype seems to have gone away? Not sure why this was needed in first place.
Mike