Skip to content

Error when Sending Email on PHP 8.4.5 #172

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

Closed
kurt-wasabi opened this issue Apr 12, 2025 · 2 comments
Closed

Error when Sending Email on PHP 8.4.5 #172

kurt-wasabi opened this issue Apr 12, 2025 · 2 comments

Comments

@kurt-wasabi
Copy link

Hi. I'm getting an error when sending email on PHP 8.4.5. The error does not occur on PHP 8.2.

Error:

{
    "exception": {
        "class": "TypeError",
        "message": "SendGrid\\Client::makeRequest(): Argument #3 ($body) must be of type ?array, SendGrid\\Mail\\Mail given, called in /Users/kurtbertone/dell-ecs-tools/vendor/sendgrid/php-http-client/lib/Client.php on line 662",
    }
}
@tiwarishubham635
Copy link
Contributor

This error has been fixed in the recent release of v4.1.3. Can you update your composer.json and try running again?

@kurt-wasabi
Copy link
Author

Hi @tiwarishubham635 Sorry about the delay. I tested it and can confirm that it works now. Thanks.

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