Can’t send emails with Laravel 5.5?
A service created with Laravel5.5 running on Sakura Internet's rental server suddenly gives an error on a specific page.
When I follow the error log, it seems that there is an error related to email …
Trying to access array offset on value of type null in /project/vendor/egulias/email-validator/EmailValidator/Parser/Parser.php
But why suddenly … I noticed that PHP on the rental server went up to 7.4. Is this the cause? ~~ Then PHP is fixed at 7.3! ~~
The version of egulias / email-validator was 2.1.3, but with composer update it became 2.1.20. I was able to solve it.
It seems that few people encounter this situation …