Tuomo Nurkkala
Forum Replies Created
Viewing 1 replies (of 1 total)
-
Forum: Plugins
In reply to: [Klarna for WooCommerce] WordPress multisiteYes I tried this but it wont work.
It doesn’t give me errors but the Klarna payments won’t show up in the checkout page in the new multisite website. Klarna payments works just fine in the first multisite page.
I asked Klarna customer service about this and they said that I need a new Api key for the new site in Klarna merchant portal.
But I guess the my site will brake because of this soon again. Because I will have soon wooglobalcart running in my two websites so the checkout page will be the same for both of the sites.
When I tried wooclobalcart I got this error before and my site crashed because of klarna:
2022-04-05T00:11:15+00:00 CRITICAL Maximum execution time of 30 seconds exceeded t?ss? /home2/sukkianet/public_html/wp-content/plugins/woocommerce/includes/wc-attribute-functions.php rivill? 50 2022-04-05T15:01:34+00:00 CRITICAL Uncaught Error: Call to a member function get_sku() on bool in /home2/sukkianet/public_html/wp-content/plugins/klarna-payments-for-woocommerce/classes/requests/helpers/class-kp-order-lines.php:635 Stack trace: #0 /home2/sukkianet/public_html/wp-content/plugins/klarna-payments-for-woocommerce/classes/requests/helpers/class-kp-order-lines.php(154): KP_Order_Lines->get_item_reference() #1 /home2/sukkianet/public_html/wp-content/plugins/klarna-payments-for-woocommerce/classes/requests/helpers/class-kp-order-lines.php(66): KP_Order_Lines->process_cart() #2 /home2/sukkianet/public_html/wp-content/plugins/klarna-payments-for-woocommerce/classes/requests/class-kp-requests.php(53): KP_Order_Lines->order_lines() #3 /home2/sukkianet/public_html/wp-content/plugins/klarna-payments-for-woocommerce/classes/requests/class-kp-requests.php(26): KP_Requests->set_environment_variables() #4 /home2/sukkianet/public_html/wp-content/plugins/klarna-payments-for-woocommerce/includes/kp-functions.php(49): KP_Requests->__construct() #5 /home2/sukkianet/public_html/wp-content/plugins/klarna-payments-for-woocommerce/classes/class-kp-checkout.php(34): kp_maybe_create_session_cart() #6 /home2/sukkianet/public_html/wp-includes/class-wp-hook.php(307): KP_Checkout->update_klarna_session() #7 /home2/sukkianet/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #8 /home2/sukkianet/public_html/wp-includes/plugin.php(474): WP_Hook->do_action() #9 /home2/sukkianet/public_html/wp-content/plugins/woo-global-cart/include/cart/class.wc-cart-extend.php(65): do_action() #10 /home2/sukkianet/public_html/wp-content/plugins/klarna-payments-for-woocommerce/includes/kp-functions.php(19): WOOGC_WC_Cart->calculate_totals() #11 /home2/sukkianet/public_html/wp-content/plugins/klarna-payments-for-woocommerce/classes/class-wc-gateway-klarna-payments.php(302): kp_maybe_create_session_cart() #12 /home2/sukkianet/public_html/wp-includes/class-wp-hook.php(307): WC_Gateway_Klarna_Payments->enqueue_scripts() #13 /home2/sukkianet/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #14 /home2/sukkianet/public_html/wp-includes/plugin.php(474): WP_Hook->do_action() #15 /home2/sukkianet/public_html/wp-includes/script-loader.php(2105): do_action() #16 /home2/sukkianet/public_html/wp-includes/class-wp-hook.php(307): wp_enqueue_scripts() #17 /home2/sukkianet/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #18 /home2/sukkianet/public_html/wp-includes/plugin.php(474): WP_Hook->do_action() #19 /home2/sukkianet/public_html/wp-includes/general-template.php(3042): do_action() #20 /home2/sukkianet/public_html/wp-content/themes/basel/header.php(18): wp_head() #21 /home2/sukkianet/public_html/wp-includes/template.php(770): require_once('/home2/sukkiane...') #22 /home2/sukkianet/public_html/wp-includes/template.php(716): load_template() #23 /home2/sukkianet/public_html/wp-includes/general-template.php(48): locate_template() #24 /home2/sukkianet/public_html/wp-content/themes/basel/page.php(11): get_header() #25 /home2/sukkianet/public_html/wp-includes/template-loader.php(106): include('/home2/sukkiane...') #26 /home2/sukkianet/public_html/wp-blog-header.php(19): require_once('/home2/sukkiane...') #27 /home2/sukkianet/public_html/index.php(17): require('/home2/sukkiane...') #28 {main} thrown t?ss? /home2/sukkianet/public_html/wp-content/plugins/klarna-payments-for-woocommerce/classes/requests/helpers/class-kp-order-lines.php rivill? 635 2022-04-05T15:01:38+00:00 CRITICAL Uncaught Error: Call to a member function get_sku() on bool in /home2/sukkianet/public_html/wp-content/plugins/klarna-payments-for-woocommerce/classes/requests/helpers/class-kp-order-lines.php:635 Stack trace: #0 /home2/sukkianet/public_html/wp-content/plugins/klarna-payments-for-woocommerce/classes/requests/helpers/class-kp-order-lines.php(154): KP_Order_Lines->get_item_reference() #1 /home2/sukkianet/public_html/wp-content/plugins/klarna-payments-for-woocommerce/classes/requests/helpers/class-kp-order-lines.php(66): KP_Order_Lines->process_cart() #2 /home2/sukkianet/public_html/wp-content/plugins/klarna-payments-for-woocommerce/classes/requests/class-kp-requests.php(53): KP_Order_Lines->order_lines() #3 /home2/sukkianet/public_html/wp-content/plugins/klarna-payments-for-woocommerce/classes/requests/class-kp-requests.php(26): KP_Requests->set_environment_variables() #4 /home2/sukkianet/public_html/wp-content/plugins/klarna-payments-for-woocommerce/includes/kp-functions.php(49): KP_Requests->__construct() #5 /home2/sukkianet/public_html/wp-content/plugins/klarna-payments-for-woocommerce/classes/class-kp-checkout.php(34): kp_maybe_create_session_cart() #6 /home2/sukkianet/public
Viewing 1 replies (of 1 total)