FatalErrorException in PostController.php line 12: Class 'App\Post' not found
i get this error when i try to login to the system using this link i am using this username: [email protected] password :haa1234 .what mint be the problem with the server or the hosting server because in the local machine its working fine.
it is only displaying the welcome page only when you try to login it give you an error.this is the link to the server.use these credential username [email protected] and password haa1234
http://entrepreneurbase.haoyetu.com
Did you check if it could be a problem about case sensitivity? If your local machine is using Windows then it doesn't care about case sensitivity, which could explain why it works on your local machine and not on the server if the server is a linux one.
So check in your code that you use a capital P for Post everywhere (class name, use statements, ...)
@harristars what I'm saying is that you have to make sure that everything is consistent in your application. As it's a convention to start class names with a capital letter your model class should be named Post, your file called Post.php and you should use EXACTLY Post everywhere and not post or any other variation when using use, creating an instance, etc...
Just check everything is the same everywhere. But maybe it's not your problem, it's just a guess as it happens to people sometimes.