debugging latest releases WP + WC
-
Hi Isabel,
Thanks for the great plugin! This has really helped me out big time, with a custom site for an artist creating one-off items – perfect.
Now that I’m soon to go live with the shop, I’ve updated my woocommerce and wordpress (to latest 3.0.4 and 4.7.4 respectively) and WP_DUBUG is showing some notices – when I deactivate your plugin they go away =(
Isabel, please can you help me out here… I would really appreciate it! =)
These are the notices in full:
Notice: The woocommerce_stock_html filter is deprecated since version ! Use woocommerce_get_stock_html instead. in /container/application/public/site/wp-includes/functions.php on line 3830
Notice: product_type was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/bg-mobile-first/woocommerce/single-product.php'), wc_get_template_part, load_template, require('/themes/bg-mobile-first/woocommerce/content-single-product.php'), do_action('woocommerce_single_product_summary'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, woocommerce_template_single_add_to_cart, do_action('woocommerce_simple_add_to_cart'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, woocommerce_simple_add_to_cart, wc_get_template, include('/plugins/woocommerce/templates/single-product/add-to-cart/simple.php'), wc_get_stock_html, apply_filters('woocommerce_stock_html'), WP_Hook->apply_filters, call_user_func_array, isa_wc_max_qty_hide_availability, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see
Notice: id was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/bg-mobile-first/woocommerce/single-product.php'), wc_get_template_part, load_template, require('/themes/bg-mobile-first/woocommerce/content-single-product.php'), do_action('woocommerce_single_product_summary'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, woocommerce_template_single_add_to_cart, do_action('woocommerce_simple_add_to_cart'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, woocommerce_simple_add_to_cart, wc_get_template, include('/plugins/woocommerce/templates/single-product/add-to-cart/simple.php'), woocommerce_quantity_input, apply_filters('woocommerce_quantity_input_args'), WP_Hook->apply_filters, call_user_func_array, isa_wc_max_qty_input_args, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see
- The topic ‘debugging latest releases WP + WC’ is closed to new replies.