Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Laravel 5 cache folder name causing classloader.php 412 error

Tags:

laravel-5

When I uploaded my laravel 5 application to hostgator, i changed the name of one of the folders (instructor) that contains some controllers to (Instructors). However, I'm getting the error ErrorException in ClassLoader.php line 412

the applications is looking for controllers under the old folder name (instructor).

How can i fix this issue please?

Thank you

like image 358
rafiaTech Avatar asked Apr 19 '26 13:04

rafiaTech


1 Answers

You can run the following command: composer dumpautoload

like image 194
Dibyendu Mitra Roy Avatar answered Apr 25 '26 15:04

Dibyendu Mitra Roy