I get the following error when I look at an order in the wp dashboard:
Fatal error: Call to undefined method WC_Order_Item_Shipping::get_product() in/wp-content/plugins/woo-download-credits-platinum/woo-download-credits-platinum.php on line 1203
I’ve traced the error back to the wp filter ‘woocommerce_order_item_get_total’ in woo-download-credits-platinum.php.
This error happens only to orders that have shipping costs.
I use version 3.1.0 of the plugin.