Laravel 5 cache folder name causing classloader.php 412 error
When I loaded my laravel 5 app into hostgator, I changed the name of one of the folders (instructor) that contains some controllers (instructors). However, I am getting ErrorException on line 412 ClassLoader.php
applications look for controllers under the old folder name (instructor).
How can I fix this problem?
thank
+3
rafiaTech
source
to share
2 answers
You can run the following command: composer dumpautoload
+3
Dibyendu Mitra Roy
source
to share
maybe you don't have controller.php file in controllers folder in http folder of ur project. Find this file first. Because in this file, the controller itself is being extended from the base controller class, so this file needs to be there.
0
user5581877
source
to share