Hi,
When i try to Recalculate orders cost and profit for all orders it comes up with the following error.
what could be wrong?
Fatal error: Uncaught Error: Call to undefined method AutomatticWooCommerceAdminOverridesOrderRefund::get_payment_method() in /var/www/fritrolderi.dk/public_html/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cost-of-goods-core.php:364 Stack trace: #0 /var/www/fritrolderi.dk/public_html/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/pro/class-alg-wc-cost-of-goods-pro.php(115): Alg_WC_Cost_of_Goods_Core->update_order_items_costs(8667, true, false) #1 /var/www/fritrolderi.dk/public_html/wp-includes/class-wp-hook.php(288): Alg_WC_Cost_of_Goods_Pro->recalculate_orders_cost_and_profit(‘tools’) #2 /var/www/fritrolderi.dk/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(”, Array) #3 /var/www/fritrolderi.dk/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #4 /var/www/fritrolderi.dk/public_html/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/settings/class-alg-wc-settings-cost-of-goods.php(108): do_action(‘alg_wc_cog_save…’, ‘to in /var/www/fritrolderi.dk/public_html/wp-content/plugins/cost-of-goods-for-woocommerce-pro/includes/class-alg-wc-cost-of-goods-core.php on line 364