mollie / WooCommerce

Official Mollie extension for WooCommerce
https://wordpress.org/plugins/mollie-payments-for-woocommerce/
Other
131 stars 53 forks source link

CRITICAL Uncaught Error: Wrong parameters for Mollie\Api\Exceptions\ApiException #720

Closed Martje65 closed 2 years ago

Martje65 commented 2 years ago

on 30-08-2022 a customer was trying to pay with iDEAL but that didn't work, and we got the next error in the Mollie logging, yesterday and today we had the same errors

Plugin version 7.3.3 WooCommerce version 6.9.3 WordPress version 6.0.2 PHP version 7.4

2022-08-30T12:46:18+00:00 CRITICAL Uncaught Error: Wrong parameters for Mollie\Api\Exceptions\ApiException([string $message [, long $code [, Throwable $previous = NULL]]]) in test.nl/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/Exceptions/ApiException.php:88 Stack trace:

0 test.nl/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/Exceptions/ApiException.php(88): Exception->__construct(‘[2022-08-30T12:…’, ‘http_request_fa…’, NULL)

1 test.nl/wp-content/plugins/mollie-payments-for-woocommerce/src/SDK/WordPressHttpAdapter.php(45): Mollie\Api\Exceptions\ApiException->__construct(‘[2022-08-30T12:…’, ‘http_request_fa…’)

2 test.nl/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/MollieApiClient.php(538): Mollie\WooCommerce\SDK\WordPressHttpAdapter->send(‘GET’, ‘https://api.mol…’, in test.nl/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/Exceptions/ApiException.php op de lijn 88

2022-08-30T12:46:48+00:00 CRITICAL Uncaught Error: Wrong parameters for Mollie\Api\Exceptions\ApiException([string $message [, long $code [, Throwable $previous = NULL]]]) in test.nl/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/Exceptions/ApiException.php:88 Stack trace:

0 test.nl/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/Exceptions/ApiException.php(88): Exception->__construct(‘[2022-08-30T12:…’, ‘http_request_fa…’, NULL)

1 test.nl/wp-content/plugins/mollie-payments-for-woocommerce/src/SDK/WordPressHttpAdapter.php(45): Mollie\Api\Exceptions\ApiException->__construct(‘[2022-08-30T12:…’, ‘http_request_fa…’)

2 test.nl/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/MollieApiClient.php(538): Mollie\WooCommerce\SDK\WordPressHttpAdapter->send(‘GET’, ‘https://api.mol…’, in test.nl/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/Exceptions/ApiException.php op de lijn 88

2022-08-30T12:46:58+00:00 CRITICAL Uncaught Error: Wrong parameters for Mollie\Api\Exceptions\ApiException([string $message [, long $code [, Throwable $previous = NULL]]]) in test.nl/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/Exceptions/ApiException.php:88 Stack trace:

0 test.nl/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/Exceptions/ApiException.php(88): Exception->__construct(‘[2022-08-30T12:…’, ‘http_request_fa…’, NULL)

1 test.nl/wp-content/plugins/mollie-payments-for-woocommerce/src/SDK/WordPressHttpAdapter.php(45): Mollie\Api\Exceptions\ApiException->__construct(‘[2022-08-30T12:…’, ‘http_request_fa…’)

2 test.nl/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/MollieApiClient.php(538): Mollie\WooCommerce\SDK\WordPressHttpAdapter->send(‘PATCH’, ‘https://api.mol… in test.nl/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/Exceptions/ApiException.php op de lijn 88

2022-08-30T12:49:16+00:00 CRITICAL Uncaught Error: Wrong parameters for Mollie\Api\Exceptions\ApiException([string $message [, long $code [, Throwable $previous = NULL]]]) in test.nl/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/Exceptions/ApiException.php:88 Stack trace:

0 test.nl/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/Exceptions/ApiException.php(88): Exception->__construct(‘[2022-08-30T12:…’, ‘http_request_fa…’, NULL)

1 test.nl/wp-content/plugins/mollie-payments-for-woocommerce/src/SDK/WordPressHttpAdapter.php(45): Mollie\Api\Exceptions\ApiException->__construct(‘[2022-08-30T12:…’, ‘http_request_fa…’)

2 test.nl/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/MollieApiClient.php(538): Mollie\WooCommerce\SDK\WordPressHttpAdapter->send(‘POST’, ‘https://api.mol…’ in test.nl/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/Exceptions/ApiException.php op de lijn 88

2022-08-30T13:03:26+00:00 CRITICAL Uncaught Error: Wrong parameters for Mollie\Api\Exceptions\ApiException([string $message [, long $code [, Throwable $previous = NULL]]]) in test.nl/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/Exceptions/ApiException.php:88 Stack trace:

0 test.nl/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/Exceptions/ApiException.php(88): Exception->__construct(‘[2022-08-30T13:…’, ‘http_request_fa…’, NULL)

1 test.nl/wp-content/plugins/mollie-payments-for-woocommerce/src/SDK/WordPressHttpAdapter.php(45): Mollie\Api\Exceptions\ApiException->__construct(‘[2022-08-30T13:…’, ‘http_request_fa…’)

2 test.nl/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/MollieApiClient.php(538): Mollie\WooCommerce\SDK\WordPressHttpAdapter->send(‘GET’, ‘https://api.mol…’, in test.nl/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/Exceptions/ApiException.php op de lijn 88

For every entry in the wp log file we have an expired entry in the Mollie website backend.

SJAVMN commented 2 years ago

I'm getting the same error multiple times a day.

Mollie 7.3.0 Wordpress 6.0.2 Woocommerce 6.9.3 PHP Version 7.4

[Thu Sep 22 15:11:59.095732 2022] [lsapi:error] [pid 39026:tid 139814254925568] [client 89.205.134.78:32462] [host www.cafetariakippie.nl] Backend fatal error: PHP Fatal error: Uncaught Error: Wrong parameters for Mollie\\Api\\Exceptions\\ApiException([string $message [, long $code [, Throwable $previous = NULL]]]) in /home/u52402p51861/domains/cafetariakippie.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/Exceptions/ApiException.php:88\nStack trace:\n#0 /home/u52402p51861/domains/cafetariakippie.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/Exceptions/ApiException.php(88): Exception->__construct('[2022-09-22T13:...', 'http_request_fa...', NULL)\n#1 /home/u52402p51861/domains/cafetariakippie.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/SDK/WordPressHttpAdapter.php(45): Mollie\\Api\\Exceptions\\ApiException->__construct('[2022-09-22T13:...', 'http_request_fa...')\n#2 /home/u52402p51861/domains/cafetariakippie.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/MollieApiClient.php(538): Mollie\\WooCommerce\\SDK\\WordPressHt in /home/u52402p51861/domains/cafetariakippie.nl/public_html/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/Exceptions/ApiException.php on line 88\n

Martje65 commented 2 years ago

Today we had the same errors again, before version 7.0.0 we did not have them.

I hope that there will a solution very fast because this will cost us customers

@InpsydeNiklas @mmaymo