Error message (parent_id was called incorrectly)

Top WooCommerce & WordPress Plugins Forums Min Max Default Quantity for WooCommerce Error message (parent_id was called incorrectly)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #104460
    Sam Britton
    Guest

    Hi there, I am getting the following error at checkout for Variable products. It seems to be an old error but disabling 3.2 of your plugin fixes it.

    Notice: parent_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/gutenberg/page.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, WC_Shortcodes::cart, WC_Shortcodes::shortcode_wrapper, WC_Shortcode_Cart::output, wc_get_template, include(‘/plugins/woocommerce/templates/cart/cart.php’), do_action(‘woocommerce_before_cart’), WP_Hook->do_action, WP_Hook->apply_filters, Alg_WC_PQ_Core->check_order_quantities, Alg_WC_PQ_Core->check_min_max, Alg_WC_PQ_Core->get_cartitem_groupby_parent_id, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /home/staging418/public_html/hdi/wp-includes/functions.php on line 5167

    #104461
    WPWhale
    Moderator

    Thanks Sam for flagging this, will look into it and fix that in the next update.

    Omar

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.