PHP Fatal error: Uncaught TypeError
-
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)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘PHP Fatal error: Uncaught TypeError’ is closed to new replies.