Klarna for WooCommerce 3.2.0

Does "Klarna Payments for WooCommerce" work with WordPress 6.3.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.3.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=c934bf46ad
Aspect after-activation
HTTP status 500
Load time 0.161 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
PHP49.0%3,4021,84137
PO File21.9%1,5251,33010
SVG12.3%857026
JavaScript8.4%5851266
CSS8.3%576384
Sass0.1%401
Total 6,949 3,335 84

PHP Code Analysis | More results »

Lines of code 3,287
Total complexity 590
Median class complexity 9.5
Median method complexity 2.0
Most complex class Klarna_For_WooCommerce_Addons
Most complex function Klarna_For_WooCommerce_Addons::change_klarna_addon_status()
Classes 32
Methods 196
Functions 17

Additions

No data available.

PHP Error Log 14 lines

[31-Aug-2023 08:45:16 UTC] PHP Fatal error:  Uncaught Error: Class "KP_Api" not found in /wp-content/plugins/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce.php:149
Stack trace:
#0 /wp-includes/class-wp-hook.php(310): WC_Klarna_Payments->init()
#1 /wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-settings.php(495): 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 149
[31-Aug-2023 08:45:16 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/documentation/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 5905
[31-Aug-2023 08:45:16 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/documentation/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 5905
See also: All tests for this plugin