Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guzzly TypeError on invoice send #62

Closed
theemstra opened this issue Apr 1, 2020 · 1 comment
Closed

Guzzly TypeError on invoice send #62

theemstra opened this issue Apr 1, 2020 · 1 comment

Comments

@theemstra
Copy link

theemstra commented Apr 1, 2020

Probably/possibly related to #47

On invoice send (invoice cron run or manual invoice creation invocation we get a GuzzleHttp error.
We run PHP 7.4.

Due to this issue the invoicing isn't working correctly, it's only invoicing half of the invoicelines and breaks off, even when re-running the invoice cron or manually invoking invoice job it will not run the missed invoice lines. Which means this is (for us) a very urgent issue.

We use your free Mollie gateway and also have the paid Mollie Recurring gateway installed.

[Wed Apr 01 09:23:32.350959 2020] [proxy_fcgi:error] [pid 9248:tid 140374228006656] [client 141.101.105.93:29692] AH01071: Got error 'PHP message: [WHMCS Application] ERROR: TypeError: Argument 1 passed to GuzzleHttp\\Client::send() must be an instance of GuzzleHttp\\Message\\RequestInterface, instance of GuzzleHttp\\Psr7\\Request given, called in /var/www/virtual/whmcs/htdocs/modules/gateways/mollie/vendor/mollie/mollie-api-php/src/MollieApiClient.php on line 447 and defined in /var/www/virtual/whmcs/htdocs/vendor/guzzlehttp/guzzle/src/Client.php:158 Stack trace: #0 /var/www/virtual/whmcs/htdocs/modules/gateways/mollie/vendor/mollie/mollie-api-php/src/MollieApiClient.php(447): GuzzleHttp\\Client->send(Object(GuzzleHttp\\Psr7\\Request), Array) #1 /var/www/virtual/whmcs/htdocs/modules/gateways/mollie/vendor/mollie/mollie-api-php/src/MollieApiClient.php(404): Mollie\\Api\\MollieApiClient->performHttpCallToFullUrl('GET', 'https://api.mol...', NULL) #2 /var/www/virtual/whmcs/htdocs/modules/gateways/mollie/vendor/mollie/mollie-api-php/src/Endpoints/EndpointAbstract.php(99): Mollie\\Api\\MollieApiClient->performHtt...\n', referer: https://whmcs/admin/index.php
@Wouter0100
Copy link
Member

Fixed with WHMCS 8 together with WHMCS Mollie Payments version 3.0. Closing for now, but thanks for reporting! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants