• Resolved grupel87

    (@grupel87)


    I recently enabled HPOS on our Woocommerce store and noticed when an admin goes to create an order on the back-end, the system has a fatal error and it appears to be attributed to the Klarna Order Management plugin. I did a few tests. I left HPOS enabled but disabled the compatibility with the table sync and it did a fatal error again when creating an order form the admin side. I then disabled HPOS and enabled compatibility sync and it worked creating an order.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter grupel87

    (@grupel87)

    2023-09-29T07:07:25+00:00 CRITICAL Uncaught Error: Call to a member function get_payment_method() on bool in /home/u996724586/domains/charcuteriemama.net/public_html/wp-content/plugins/klarna-order-management-for-woocommerce/classes/class-wc-klarna-meta-box.php:61
    Stack trace:
    #0 /home/u996724586/domains/charcuteriemama.net/public_html/wp-includes/class-wp-hook.php(312): WC_Klarna_Meta_Box->kom_meta_box()
    #1 /home/u996724586/domains/charcuteriemama.net/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
    #2 /home/u996724586/domains/charcuteriemama.net/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #3 /home/u996724586/domains/charcuteriemama.net/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/Edit.php(159): do_action()
    #4 /home/u996724586/domains/charcuteriemama.net/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/PageController.php(350): Automattic\WooCommerce\Internal\Admin\Orders\Edit->setup()
    #5 /home/u996724586/domains/charcuteriemama.net/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/PageController.php(397): Automattic\WooCommerce\Internal\Admin\Orders\PageController->prepare_order_edit_form()
    #6 /home/u996724586/domains/charcuteriemama.net/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/PageController.php(167): Automattic\WooCommerce\Internal\Admin\Orders\PageController->setup_action_new_order()
    #7 [internal function]: Automattic\WooCommerce\Internal\Admin\Orders\PageController->handle_load_page_action()
    #8 /home/u996724586/domains/charcuteriemama.net/public_html/wp-content/plugins/woocommerce/src/Internal/Traits/AccessiblePrivateMethods.php(158): call_user_func_array()
    #9 /home/u996724586/domains/charcuteriemama.net/public_html/wp-includes/class-wp-hook.php(310): Automattic\WooCommerce\Internal\Admin\Orders\PageController->__call()
    #10 /home/u996724586/domains/charcuteriemama.net/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
    #11 /home/u996724586/domains/charcuteriemama.net/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #12 /home/u996724586/domains/charcuteriemama.net/public_html/wp-admin/admin.php(237): do_action()
    #13 {main}
      thrown in /home/u996724586/domains/charcuteriemama.net/public_html/wp-content/plugins/klarna-order-management-for-woocommerce/classes/class-wc-klarna-meta-box.php on line 61
    Plugin Support Andreas – Krokedil

    (@boozebrorsan)

    Hi!

    Thanks for the report! We are aware of this bug and there will be a fix released during next week for it so check your plugin list for an update.

    Thread Starter grupel87

    (@grupel87)

    I saw that the main Klarna plugin was updated but nothing yet for Klarna Order Management plugin. Any updates?

    Plugin Support Andreas – Krokedil

    (@boozebrorsan)

    Hi @grupel87

    The fix has been released today.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Issue when creating order manually with HPOS enabled’ is closed to new replies.