Klarna for WooCommerce 3.0.0

Does "Klarna Payments for WooCommerce" work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP fatal errors
2PHP notices
No JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

No data available.

Environment
WordPress version6.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 30,000+
WordPress.org page https://wordpress.org/plugins/klarna-payments-for-woocommerce/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 1

WordPress › Error

Page screenshot: WordPress › Error
URL /wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s=
Requested URL /wp-admin/plugins.php?action=activate&plugin=klarna-payments-for-woocommerce%2Fklarna-payments-for-woocommerce.php&plugin_status=all&paged=1&s&_wpnonce=6cf249d019
Aspect after-activation
HTTP status 500
Load time 0.107 s
Memory usage N/A
JS errors None
Resource errors None

Benchmark

No benchmark data available.

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
PO File
SVG
JavaScript
CSS
Language % Lines of code Comment lines Files
PHP45.4%2,9471,55132
PO File23.5%1,5251,33010
SVG13.2%856025
JavaScript9.1%5901256
CSS8.9%576384
Sass0.1%401
Total 6,498 3,044 78

PHP Code Analysis | More results »

Lines of code 2,842
Total complexity 501
Median class complexity 10.0
Median method complexity 2.0
Most complex class Klarna_For_WooCommerce_Addons
Most complex function Klarna_For_WooCommerce_Addons::change_klarna_addon_status()
Classes 27
Methods 165
Functions 16

Additions

No data available.

PHP Error Log 14 lines

[21-Feb-2023 12:59:02 UTC] PHP Fatal error:  Uncaught Error: Class "KP_Api" not found in /wp-content/plugins/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce.php:141
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): WC_Klarna_Payments->init()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-settings.php(480): do_action()
#4 /wp-config.php(191): require_once('...')
#5 /wp-load.php(50): require_once('...')
#6 /wp-admin/admin.php(34): require_once('...')
#7 /wp-admin/plugins.php(10): require_once('...')
#8 {main}
  thrown in /wp-content/plugins/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce.php on line 141
[21-Feb-2023 12:59:02 UTC] PHP Notice:  Function is_embed was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /wp-includes/functions.php on line 5835
[21-Feb-2023 12:59:02 UTC] PHP Notice:  Function is_search was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /wp-includes/functions.php on line 5835
See also: All tests for this plugin