Limited Time Offer!
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
![](https://www.devsecopsnow.com/wp-content/uploads/2023/12/image-28-1024x378.png)
It seems that there is a problem with the way you are invoking the sendResetLinkResponse function. You’re sending the response string in your code, but the sendResetLinkResponse method wants an instance of Illuminate\Http\Request as its first argument.
When you are facing This type problem when you are facing then you need to understand the error. Once you understand then it is very easy to solve all the errors.
here is the code you have:
return $response == Password::RESET_LINK_SENT
? $this->sendResetLinkResponse($response)
: $this->sendResetLinkFailedResponse($request, $response);
![](https://www.devsecopsnow.com/wp-content/uploads/2023/12/image-29.png)
This is the main error which you are facing in this error. now you need to add some code here to solve this. You just need to add $request like the image is given.
return $response == Password::RESET_LINK_SENT
? $this->sendResetLinkResponse($request, $response)
: $this->sendResetLinkFailedResponse($request, $response);
![](https://www.devsecopsnow.com/wp-content/uploads/2023/12/image-30.png)
Now, you can refresh your project and it will work in a proper way as you want. like the image i have given below:
![](https://www.devsecopsnow.com/wp-content/uploads/2023/12/image-32-1024x415.png)