Laravel 6 controller does not exist

Hi all, I have a problem when I uploaded Laravel 6 files to free 000webhost, it can’t find the controller that I created while it is working well with laravel ready controller like LoginController.
Laravel php requirment is php version = 7.2.0 while php server in 000webhost is php 7.2 any advice

thank you in advance

You should try re-uploading your vendor files. A missing controller is a result of missing source files, which you should have from when you downloaded the frameworks.

As a warning, I should note that laravel is not known to work well on the free platform because of a lack of composer support. You might be better off using laravel on paid hosting or a VPS.

1 Like

Hi! What is the website URL and the controller you’re missing.

Note we have a step-by-step guide to uploading Laravel Projects to 000webhost. We recommend you to check it out.