Support » Plugin: WooCommerce » PHP message: The WC_Abstract_Legacy_Order::get_product_from_item function is dep

  • Resolved Deep Sojitra

    (@deepsojitra)


    PHP message: The WC_Abstract_Legacy_Order::get_product_from_item function is deprecated since version 4.4.0. Replace with $item->get_product().

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Deep Sojitra

    (@deepsojitra)

    Also I am not using Jetpack.

    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    What plugin is this coming from? there should be more in that message saying where the message is coming from.

    Thread Starter Deep Sojitra

    (@deepsojitra)

    I just removed that line from the code file, and it works for me.
    Right now I can’t get that access log so can’t send full error.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP message: The WC_Abstract_Legacy_Order::get_product_from_item function is dep’ is closed to new replies.