Plugin still used depreciated call get_product_from_item
-
When examining my log files, I have noticed continual error messages
The WC_Abstract_Legacy_Order::get_product_from_item function is deprecated since version 4.4.0. Replace with $item->get_product().I grepped for any plugin which still contains get_product_from_item function call.
For woocommerce-pdf-invoices-packing-slips as of version Version 2.11.2, this still contains a depreciated call get_product_from_item in the file abstract-wcpdf-order-document-methods.php on line 597
Could you please update the plugin to use the newer methodology $item->get_product()
thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Plugin still used depreciated call get_product_from_item’ is closed to new replies.