Is the file actually there? Is your Composer correctly set up, dependencies installed and up to date?
Feb 13, 2023
12
Level 1
[App\Http\Controllers\Admin\AdminController] does not exist.
Hello, I uploaded my Laravel project to the server but I am getting the following error: Target class [App\Http\Controllers\Admin\AdminController] does not exist. There is no problem when running it locally, but when I upload it to the server, I get this error.
Level 104
@by_ozturk your local environment might be a case-insensitive operating system; whereas the production environment might be case-sensitive. In such cases, you need to be fastidious with your file, class, variable etc. naming. This is why I asked about the filename for the Controller class
1 like
Please or to participate in this conversation.