WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Klarna(swedish) payment gateway error after update 2.0.4 (2 posts)

  1. zookie_333
    Member
    Posted 1 year ago #

    Fatal error: Class 'WC_Gateway_Klarna_Invoice' not found in
    /var/www/web/xxxxx/xxxxxx.com/wp-content/plugins/woocommerce/classes/class-wc-payment-gateways.php
    on line 45

    // Get order option
    		$ordering 	= (array) get_option('woocommerce_gateway_order');
    		$order_end 	= 999;
    
    		// Load gateways in order
    		foreach ($load_gateways as $gateway) :
    
    			$load_gateway = new $gateway();
    
    			if (isset($ordering[$load_gateway->id]) && is_numeric($ordering[$load_gateway->id])) :
    				// Add in position
    				$this->payment_gateways[$ordering[$load_gateway->id]] = $load_gateway;
    			else :
    				// Add to end of the array

    http://wordpress.org/extend/plugins/woocommerce/

  2. kservik
    Member
    Posted 1 year ago #

    Same problem. Did you find a fix for this?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic