• Hello,

    recent beta 7 breaks the website, possibly due to clonflict with WooCommerce Klarna Gateway plugin, both using same guzzlehttp library.

    This is the error

    Fatal error: Uncaught TypeError: Argument 1 passed to GuzzleHttp\Client::send() must be an instance of GuzzleHttp\Message\RequestInterface, instance of GuzzleHttp\Psr7\Request given, called in /public_html/wp-content/plugins/mollie-payments-for-woocommerce/includes/mollie-api-php/src/MollieApiClient.php on line 313 and defined in /public_html/wp-content/plugins/woocommerce-gateway-klarna/vendor/guzzlehttp/guzzle/src/Client.php:158 Stack trace: #0 /public_html/wp-content/plugins/mollie-payments-for-woocommerce/includes/mollie-api-php/src/MollieApiClient.php(313): GuzzleHttp\Client->send(Object(GuzzleHttp\Psr7\Request), Array) #1 /public_html/wp-content/plugins/mollie-payments-for-woocommerce/includes/mollie-api-php/src/MollieApiClient.php(270): Mollie\Api\MollieApiClient->performHttpCallToFullUrl('GET', 'https://api.mol...', NULL) #2 /public_html/wp-content/plugins/woocommerce-gateway-klarna/vendor/guzzlehttp/guzzle/src/Client.php on line 158

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor davdebcom

    (@davdebcom)

    Nope, not possible, there is definitely a conflict. Klarna is using a 1 year old version of Guzzle (5.x) and we are using the latest version (6.x). I have already asked them to update, no reply yet:
    https://github.com/woocommerce/woocommerce-gateway-klarna/issues/127

    We had the same with Cardinity, they’ve updated within 24 hours.

    Alternative solution for you: use the 3.x versions of our plugin until Klarna is updated.

    • This reply was modified 6 years, 4 months ago by davdebcom.
    Plugin Contributor davdebcom

    (@davdebcom)

    All issues with Guzzle or certificates should be fixed in Mollie Payments for WooCommerce 4.0.1 which will be available as an update in the WordPress dashboard starting August 6th.

    Thread Starter Andrius Vlasovas

    (@vlaskiz)

    Sounds great,

    thanks for sorting this out.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Possible clonflict with Klarna Gateway Plugin’ is closed to new replies.