• Resolved someonebutwhere

    (@someonebutwhere)


    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

Viewing 4 replies - 1 through 4 (of 4 total)
  • This is fixed in version 1.4.1 (just released). Thanks for reporting.

    Thread Starter someonebutwhere

    (@someonebutwhere)

    You are my hero – thank you sooo much!! =D

    Thread Starter someonebutwhere

    (@someonebutwhere)

    Oops, I just updated and now there’s a fatal error… I notice someone else has this too. Will roll it back meantime – thanks Isabel!

    Fatal error: Call to undefined method WC_Product_Simple::get_parent_data() in /container/application/public/site/wp-content/plugins/woocommerce-max-quantity/woocommerce-max-quantity.php on line 192

    Very sorry. This is fixed in 1.4.2. (just released).

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘debugging latest releases WP + WC’ is closed to new replies.