0
votes

I'm getting an error [ReflectionException] Class App\Http\Controllers\Frontend\TagsController does not exist when I run php artisan route:list

some one help.

error screen shot

1
Please show how do you use TagsController in the routes file and namespace of the controller.Alexey Mezenin
Check you have properly namespaced your controller.Gayan
@AlexeyMezenin Route::resource('tags', 'TagsController');Patrick Mutwiri
@PatrickMutwiri do you use it inside some route groups? Please show namespace of the controller.Alexey Mezenin
Nop. independently in use.Patrick Mutwiri

1 Answers

1
votes

Try namespace like this, in the controller

namespace App\Http\Controllers\Frontend;