• Resolved raits515

    (@raits515)


    Hi klarna payment plugin causes critical error when adding product to cart and trying to checkout:

    2023-08-31T10:50:38+00:00 CRITICAL Uncaught Error: Class 'KP_Subscription' not found in 
    /public_html/wp-content/plugins/klarna-payments-for-woocommerce/classes/class-kp-assets.php:39
    
    Stack trace:
    
    #0 /public_html/wp-includes/class-wp-hook.php(308): KP_Assets->enqueue_checkout_script('')
    
    #1 /public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    
    #2 /public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    
    #3 /public_html/wp-includes/script-loader.php(2180): do_action('wp_enqueue_scri...')
    
    #4 /public_html/wp-includes/class-wp-hook.php(308): wp_enqueue_scripts('')
    
    #5 /public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    
    #6 /public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    
    #7 /public_html/wp-includes/general-template.php(3043): do_action('wp_head')
    
    #8 /public_html/wp-content/plugins/checkoutwc-lite/includes/Loaders/Redirect. t?ss? /home/luxsauna/public_html/wp-content/plugins/klarna-payments-for-woocommerce/classes/class-kp-assets.php rivill? 39

    Here is a woocommerce status report:

    I disabled all plugins, and checked when only woocommerce with klarna was enabled, but the issue was still there.


    I tried on default wordpress theme, but issue was still there.

    I also issued a new API-key credentials in Klarna portal, and entered these under plugin setting, but still the same error occurs.

    What is causing it and can you please fix it?

    • This topic was modified 1 year, 6 months ago by raits515.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Critical error when trying to access checkout’ is closed to new replies.