Support » Plugin: Wholesale Prices for WooCommerce by Wholesale Suite » Fatal error in our logs

  • Resolved Brian Henry

    (@brianhenryie)


    Saw this today:

    
    [11-Dec-2020 23:29:30 UTC] PHP Notice:  Undefined index: quantity in /path/to/wp-content/plugins/woocommerce/includes/class-wc-cart.php on line 1322
    [11-Dec-2020 23:29:30 UTC] PHP Notice:  Undefined index: data in /path/to/wp-content/plugins/woocommerce-wholesale-prices/includes/class-wwp-wholesale-prices.php on line 679
    [11-Dec-2020 23:29:30 UTC] WWP Error : wwp_get_product_type helper functions expect parameter $product of type WC_Product.
    [11-Dec-2020 23:29:30 UTC] WWP Error : wwp_get_product_id helper functions expect parameter $product of type WC_Product.
    [11-Dec-2020 23:29:30 UTC] WWP Error : wwp_get_product_type helper functions expect parameter $product of type WC_Product.
    [11-Dec-2020 23:29:30 UTC] WWP Error : wwp_get_product_type helper functions expect parameter $product of type WC_Product.
    [11-Dec-2020 23:29:30 UTC] PHP Warning:  Creating default object from empty value in /path/to/wp-content/plugins/woocommerce-wholesale-prices/includes/class-wwp-wholesale-prices.php on line 716
    [11-Dec-2020 23:29:30 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method stdClass::get_price() in /path/to/wp-content/plugins/woocommerce-wholesale-prices-premium/includes/class-wwpp-wholesale-price-requirement.php:563
    Stack trace:
    #0 /path/to/wp-includes/class-wp-hook.php(287): WWPP_Wholesale_Price_Requirement->filter_if_cart_item_is_included_on_cart_totals_computation(true, Array, Array)
    #1 /path/to/wp-includes/plugin.php(212): WP_Hook->apply_filters(true, Array)
    #2 /path/to/wp-content/plugins/woocommerce-wholesale-prices/includes/class-wwp-wholesale-prices.php(718): apply_filters('wwp_include_car...', true, Array, Array)
    #3 /path/to/wp-includes/class-wp-hook.php(287): WWP_Wholesale_Prices->apply_product_wholesale_price_to_cart(Object(WC_Cart))
    #4 /path/to/wp-includes/class-wp-hook.php(311): WP_Hook->apply_fi in /path/to/wp-content/plugins/woocommerce-wholesale-prices-premium/includes/class-wwpp-wholesale-price-requirement.php on line 563
    
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.