Laravel Trottle AddHeaders Error
We sometimes face this error when new install Laravel and run composer udpate
Type error: Argument 1 passed to Illuminate\\Routing\\Middleware\\ThrottleRequests::addHeaders()
must be an instance of Symfony\\Component\\HttpFoundation\\Response, null given
Solution:
For me, the issue is resolved by correcting database credentials in the .env file. Hope the same will work for
you as well.
No comments:
Post a Comment