Issue
My server (Ubuntu 20.4) updated and this impacted the version of PHP which was upgraded to 8.1 and since I got this error message when I try to send a mail from my Laravel application:
strtolower(): Passing null to parameter #1 ($string) of type string is deprecated
My current PHP version is 8.1 and Laravel 8.64.0.
Need help!
I looked in this forum (https://github.com/laravel/framework/issues/39686), but the I'm a little bit confused because I don't see any entry in my composer.json file and yet Swiftmailer is already part of the project.
Solution
I also faced the same problem I just upgraded my swiftmailer by this command
composer require "swiftmailer/swiftmailer:^6.3"
Answered By - Ashish Sharma
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.