If this actually works in local but not production, you are either missing some files, missing a permission, or your case is off. Linux is cAsE SenSitive.
Feb 25, 2020
10
Level 3
Middleware error
Hello,
i have an questions about an error i get. The situation is as follows:
- in my local development setup my website works fine.
I have set the website up on a shared hosting account. I did this by following this tutorial: https://dev.to/asapabedi/deploying-laravel-5-applications-on-shared-hosting-without-the-use-of-ssh--16a6
This resulted in the following:
- Frontend works fine
- When trying to login i get the following error:
Class App\Http\Middleware\CheckRole does not exist
Any idea how to solve this?
Help would be very appreciated.
thanks in advance.
Level 102
That should work but maybe some restriction on the shared host. Try checking the logs
Please or to participate in this conversation.