• Resolved pingweb

    (@pingweb)


    When I update to the 4.0.0-beta7 version, the following error is shown (and breaks the whole payment-gateway):

    [Thu Aug 02 11:04:17.592770 2018] [proxy_fcgi:error] [pid 2501:tid 140140982773504] [client xxx:0] AH01071: Got error 'PHP message: PHP 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 /home/[XXX]/domains/[XXX]/public_html/wp-content/plugins/mollie-payments-for-woocommerce/includes/mollie-api-php/src/MollieApiClient.php on line 313 and defined in /home/[XXX]/domains/a[XXX]/public_html/wp-content/plugins/simple-locator/vendor/guzzlehttp/guzzle/src/Client.php:158\nStack trace:\n#0 /home/[XXX]/domains/[XXX]/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)\n#1 /home/[XXX]/domains/[XXX]/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)\n#2 /home...\n'
    [Thu Aug 02 11:20:08.910615 2018] [proxy_fcgi:error] [pid 2501:tid 140140764563200] [client xxx:0] AH01071: Got error 'PHP message: id was called incorrectly. Order properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action('wc_ajax_checkout'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment, Mollie_WC_Gateway_AbstractSubscription->process_payment, Mollie_WC_Gateway_Abstract->process_payment, Mollie_WC_Gateway_AbstractSubscription->getPaymentRequestData, Mollie_WC_Gateway_Abstract->getPaymentRequestData, WC_Order->get_order_number, apply_filters('woocommerce_order_number'), WP_Hook->apply_filters, WC_Seq_Order_Number_Pro->get_order_number, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.\n', referer: https://www.[XXX].nl/checkout/

    Placing back version 3.0.6 resolves the error.

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

    (@davdebcom)

    Hi

    this is a conflict with simple-locator plugin that uses an older version of Guzzle. I’m not going to ask you to ask the simple-locator developers to update their version of Guzzle, because next weke we will have an update that contains a workaround for the Guzzle conflict.

    So, stay on 3.0.6 for now, and when 4.0.0 stable comes out, you can update to that.

    Thanks for reaching out, by the way!

    Kind regards
    David

    Plugin Contributor davdebcom

    (@davdebcom)

    All issues with Guzzle 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.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP Fatal error: Uncaught TypeError’ is closed to new replies.