@stano Can you show more details of your error?
If possible, can you run the following in the terminal on your server?
php artisan cache:clear
php artisan config:clear
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello,
I have web on Laravel framework which working on local server without problems. But after copy project on hosting via ftp there is error: Class "Illuminate\routing\Controller" not found. I have coppied all files and directories.
This error is from links where is used session or cookies in site controller. For example close "cookie accept" alert.
Please or to participate in this conversation.