Hello guys,
I have defined my controller and it was perfectly working. Suddenly when I click on the button, it tells me that the controller for UserUpdate is not defined. When I run php artisan route:list, it gives following error
[ReflectionException]
Class App\Http\Controllers\UserUpdate does not exist
I have already checked the names of classes and namespaces.
Note: I can provide screenshots but don't know how to attach here.
probably an incorrect namespace on the controller ? or a mistype. without code it's hard to tell
did you cache the router ? if so you might wanna clear that.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community