Fatal Error after upgrading to php 7.1
-
Everything was running fine until I upgraded the php to 7.1 !
Please, tell me how to fix this. Thanks!
Fatal error: Uncaught ArgumentCountError: Too few arguments to function wcpb_product_interface::wcpb_add_product_bundle_type(), 1 passed in /public_html/www/wp-includes/class-wp-hook.php on line 286 and exactly 2 expected in /public_html/www/wp-content/plugins/wc-product-bundles/classes/admin-form.php:20 Stack trace: #0 /public_html/www/wp-includes/class-wp-hook.php(286): wcpb_product_interface->wcpb_add_product_bundle_type(Array) #1 /public_html/www/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array) #2 /public_html/www/wp-content/plugins/woocommerce/includes/wc-product-functions.php(500): apply_filters('product_type_se...', Array) #3 /public_html/www/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-assets.php(303): wc_get_product_types() #4 /public_html/www/wp-includes/class-wp-hook.php(286): WC_Admin_Assets->admin_scripts('edit.php') #5 /public_html/www/wp-includes/class-wp-hook.php( in /public_html/www/wp-content/plugins/wc-product-bundles/classes/admin-form.php on line 20
- The topic ‘Fatal Error after upgrading to php 7.1’ is closed to new replies.