Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

after Update laravel 6.2 [App\Http\Controllers\Auth\ConfirmPasswordController] does not exist

Tags:

laravel

I update laravel from v 6.0 to v6.2 and after the finish, I try php artisan route:list

This error

enter image description here

like image 744
story ks Avatar asked Dec 02 '22 09:12

story ks


2 Answers

I had the same issue, i fixed it with the following solution:

  1. Create a empty file named "ConfirmPasswordController.php" in the folder App/Http/Controllers/Auth
  2. Go to https://github.com/laravel/laravel/tree/master/app/Http/Controllers/Auth en open the file named "ConfirmPasswordController.php"
  3. Copy all the file contents to your newly created file and save it.

This should fix the error.

Edit
The problem is, were updating the composer dependencies, but not the core application. But de composer dependencies expect you to update the core. They refer to files on the core application that not exists (because the application is not up-to-date).

See: How to update Laravel Application (not the composer dependencies)

like image 196
Erik-Jan Avatar answered Dec 04 '22 00:12

Erik-Jan


This has been fixed. Just update to Laravel 6.4

like image 40
LordZardeck Avatar answered Dec 03 '22 23:12

LordZardeck