kriskong
4 years ago

ReflectionException for manually added Controllers in 5.1.7

Posted 4 years ago by kriskong

I'm a little stuck on this after upgrading to 5.1.7. When I create a resource controller using artisan, it works. However, when I try to create the file manually, Laravel is unable to find my controller.

I've tried the following but none of it helped:

  1. Running composer update
  2. Running composer dump-autoload

What's interesting is that I copied and pasted the code from the generated controller into a new project manually but it still fails to detect my controller.

Please help!

Please sign in or create an account to participate in this conversation.