I'm getting this error in laravel after following the 8.x illuminate/mail setup on a fresh repo clone:
Too few arguments to function Swift_Transport_EsmtpTransport::__construct(), 0 passed in \/vendor\/swiftmailer\/swiftmailer\/lib\/classes\/Swift\/SmtpTransport.php on line 35 and at least 3 expected
It was previously working, but it seems that there's problems in the swiftmailer dependency. Near as I can tell, it's calling the constructor for EsmtpTransport.php
but passing nothing into it for Swift_Transport_IoBuffer $buf, array $extensionHandlers, Swift_Events_EventDispatcher $dispatcher
.
Is this a known issue, is there a known fix?
I have already tried dump-autoload
suggested in old threads as well as checking out previously working revisions and still get the same error.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community