After upgrading the laravel 5.8 to laravel 6.x I am getting this error:
Undefined class constant 'App\Providers\RouteServiceProvider::HOME'
Before upgrading the application login system was the custom. After upgrading to laravel 6.x I want to use laravel default authentication. I created authentication through php artisan ui:auth
and I copied controllers from fresh laravel app/Http/Controllers/Auth
folder with auth related controllers like - LoginController
, RegisterController
etc.
What should I do to solve the above error? Would someone help me, please?