Title: PHP Fatal error: Uncaught TypeError
Last modified: August 2, 2018

---

# PHP Fatal error: Uncaught TypeError

 *  Resolved [pingweb](https://wordpress.org/support/users/pingweb/)
 * (@pingweb)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-typeerror-4/)
 * 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](https://wordpress.org/support/users/davdebcom/)
 * (@davdebcom)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-typeerror-4/#post-10553786)
 * 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](https://wordpress.org/support/users/davdebcom/)
 * (@davdebcom)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-typeerror-4/#post-10562922)
 * 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.

 * ![](https://ps.w.org/mollie-payments-for-woocommerce/assets/icon-256x256.png?
   rev=3090580)
 * [Mollie Payments for WooCommerce](https://wordpress.org/plugins/mollie-payments-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mollie-payments-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mollie-payments-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/mollie-payments-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mollie-payments-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mollie-payments-for-woocommerce/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [davdebcom](https://wordpress.org/support/users/davdebcom/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-typeerror-4/#post-10562922)
 * Status: resolved