Support » Plugin: WooCommerce Discounts Plus » PHP error – Product properties should not be accessed directly.

  • Resolved amiayu

    (@amiayu)


    parent was called incorrectly. Product properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_yith_wccl_add_to_cart’), WP_Hook->do_action, WP_Hook->apply_filters, YITH_WCCL_Frontend->add_to_cart_ajax_loop, WC_AJAX::get_refreshed_fragments, apply_filters(‘woocommerce_add_to_cart_fragments’), WP_Hook->apply_filters, ElementorPro\Modules\Woocommerce\Module->menu_cart_fragments, ElementorPro\Modules\Woocommerce\Module::render_menu_cart, ElementorPro\Modules\Woocommerce\Module::render_cart_content, ElementorPro\Modules\Woocommerce\Module::render_cart_item, apply_filters(‘woocommerce_cart_item_price’), WP_Hook->apply_filters, Woo_Discounts_Plus_Plugin->filter_item_price, Woo_Discounts_Plus_Plugin->gather_discount_love, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.

    Thanks!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.