Saturday, July 22, 2017

[Laravel5.5][Resolved] Argument 1 passed to ForgotPasswordController::sendResetLinkFailedResponse() must be an instance of App\Http\Controllers\Auth\Request

Error message

Type error: Argument 1 passed to App\Http\Controllers\Auth\ForgotPasswordController::sendResetLinkFailedResponse()
must be an instance of App\Http\Controllers\Auth\Request,
instance of Illuminate\Http\Request given,
called in /var/www/example.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Auth/SendsPasswordResetEmails.php on line 39

Solution

replace use "use App\Http\Requests;" by "use Illuminate\Http\Request;".

Reference

https://laracasts.com/discuss/channels/general-discussion/class-apphttpcontrollersrequest-does-not-exist?page=1

No comments :

Post a Comment