Warning: Undefined property: WooCommerce::$payment_gateways in /home/madelen2/public_html/wp-content/plugins/invoice-gateway-for-woocommerce/Models/Orders/IGFW_Order_CPT.php on line 314
Fatal error: Uncaught Error: Call to a member function get_available_payment_gateways() on null in /home/madelen2/public_html/wp-content/plugins/invoice-gateway-for-woocommerce/Models/Orders/IGFW_Order_CPT.php:314
Stack trace:
#0 /home/madelen2/public_html/wp-includes/class-wp-hook.php(324): IGFW\Models\Orders\IGFW_Order_CPT->show_invoice_payment_gateway_on_free_orders()
#1 /home/madelen2/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /home/madelen2/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1469): apply_filters()
#3 /home/madelen2/public_html/wp-content/plugins/klarna-payments-for-woocommerce/classes/class-kp-klarna-express-checkout.php(47): WC_Cart->needs_payment()
#4 /home/madelen2/public_html/wp-includes/class-wp-hook.php(324): KP_Klarna_Express_Checkout->maybe_add_pay_button_support()
#5 /home/madelen2/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#6 /home/madelen2/public_html/wp-content/plugins/klarna-payments-for-woocommerce/classes/class-wc-gateway-klarna-payments.php(70): apply_filters()
#7 /home/madelen2/public_html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(104): WC_Gateway_Klarna_Payments->__construct()
#8 /home/madelen2/public_html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(77): WC_Payment_Gateways->init()
#9 /home/madelen2/public_html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(50): WC_Payment_Gateways->__construct()
#10 /home/madelen2/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(1178): WC_Payment_Gateways::instance()
#11 /home/madelen2/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(202): WooCommerce->payment_gateways()
#12 /home/madelen2/public_html/wp-content/plugins/invoice-gateway-for-woocommerce/Models/Orders/IGFW_Order_CPT.php(314): WooCommerce->__get()
#13 /home/madelen2/public_html/wp-includes/class-wp-hook.php(324): IGFW\Models\Orders\IGFW_Order_CPT->show_invoice_payment_gateway_on_free_orders()
#14 /home/madelen2/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#15 /home/madelen2/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1469): apply_filters()
#16 /home/madelen2/public_html/wp-content/plugins/klarna-payments-for-woocommerce/classes/class-kp-klarna-express-checkout.php(47): WC_Cart->needs_payment()
#17 /home/madelen2/public_html/wp-includes/class-wp-hook.php(324): KP_Klarna_Express_Checkout->maybe_add_pay_button_support()
#18 /home/madelen2/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#19 /home/madelen2/public_html/wp-content/plugins/klarna-payments-for-woocommerce/classes/class-wc-gateway-klarna-payments.php(70): apply_filters()
#20 /home/madelen2/public_html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(104): WC_Gateway_Klarna_Payments->__construct()
#21 /home/madelen2/public_html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(77): WC_Payment_Gateways->init()
#22 /home/madelen2/public_html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(50): WC_Payment_Gateways->__construct()
#23 /home/madelen2/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(1178): WC_Payment_Gateways::instance()
#24 /home/madelen2/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-applepay/src/ApplepayModule.php(141): WooCommerce->payment_gateways()
#25 /home/madelen2/public_html/wp-includes/class-wp-hook.php(324): WooCommerce\PayPalCommerce\Applepay\ApplepayModule->WooCommerce\PayPalCommerce\Applepay\{closure}()
#26 /home/madelen2/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#27 /home/madelen2/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/Helper/SettingsStatus.php(117): apply_filters()
#28 /home/madelen2/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/Helper/SettingsStatus.php(89): WooCommerce\PayPalCommerce\WcGateway\Helper\SettingsStatus->is_enabled_for_location()
#29 /home/madelen2/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Assets/SmartButton.php(452): WooCommerce\PayPalCommerce\WcGateway\Helper\SettingsStatus->is_smart_button_enabled_for_location()
#30 /home/madelen2/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Assets/SmartButton.php(313): WooCommerce\PayPalCommerce\Button\Assets\SmartButton->render_button_wrapper_registrar()
#31 /home/madelen2/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/ButtonModule.php(64): WooCommerce\PayPalCommerce\Button\Assets\SmartButton->render_wrapper()
#32 /home/madelen2/public_html/wp-includes/class-wp-hook.php(324): WooCommerce\PayPalCommerce\Button\ButtonModule::WooCommerce\PayPalCommerce\Button\{closure}()
#33 /home/madelen2/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#34 /home/madelen2/public_html/wp-includes/plugin.php(565): WP_Hook->do_action()
#35 /home/madelen2/public_html/wp-includes/class-wp.php(835): do_action_ref_array()
#36 /home/madelen2/public_html/wp-includes/functions.php(1342): WP->main()
#37 /home/madelen2/public_html/wp-blog-header.php(16): wp()
#38 /home/madelen2/public_html/index.php(17): require('/home/madelen2/...')
#39 {main}
thrown in /home/madelen2/public_html/wp-content/plugins/invoice-gateway-for-woocommerce/Models/Orders/IGFW_Order_CPT.php on line 314