Klarna On-Site Messaging for WooCommerce
-
Hi, I know this is technically not the plugin forum but I cannot find it and it still relates to klarna. Anyway I had a critical error on my website today, I debugged it and got this error code:
[22-Apr-2024 11:19:05 UTC] PHP Fatal error: Uncaught TypeError: get_class(): Argument #1 ($object) must be of type object, string given in /var/www/html/wp-content/plugins/klarna-payments-for-woocommerce/vendor/krokedil/klarna-onsite-messaging/src/KlarnaOnsiteMessaging.php:76
Stack trace: 0 /var/www/html/wp-content/plugins/klarna-payments-for-woocommerce/vendor/krokedil/klarna-onsite-messaging/src/KlarnaOnsiteMessaging.php(76): get_class() 1 /var/www/html/wp-content/plugins/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce.php(176): Krokedil\KlarnaOnsiteMessaging\KlarnaOnsiteMessaging->__construct() 2 /var/www/html/wp-includes/class-wp-hook.php(324): WC_Klarna_Payments->init() 3 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 4 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action() 5 /var/www/html/wp-settings.php(550): do_action() 6 /var/www/html/wp-config.php(98): require_once(‘…’) 7 /var/www/html/wp-load.php(50): require_once(‘…’) 8 /var/www/html/wp-blog-header.php(13): require_once(‘…’) 9 /var/www/html/index.php(17): require(‘…’) 10 {main}thrown in /var/www/html/wp-content/plugins/klarna-payments-for-woocommerce/vendor/krokedil/klarna-onsite-messaging/src/KlarnaOnsiteMessaging.php on line 76
[22-Apr-2024 11:19:05 UTC] PHP Notice: Function is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /var/www/html/wp-includes/functions.php on line 6078I have deactivated klarna onsite messaging and it works now but is there a reason for this error than can be easily solved?
Thank you
The page I need help with: [log in to see the link]
- The topic ‘Klarna On-Site Messaging for WooCommerce’ is closed to new replies.