I'm developing an application via Slim framework and I made my classes to be loaded with composer.
When I'm running it locally via xampp, it totally works, but as soon as I upload it on a web storage, the following error occurs.:
Type: Error
Message: Class 'App\Controllers\UserController' not found
File: /some/path/backend/src/controllers.php
Line: 8
I uploaded my vendor directory also. Checked get_declared_classes()
result, and my classes are actually not loaded. Could you make a hint, that where should I search for the solution?
Kind regards, Daniel.