hi @bhojkamal are you using a vps or a shared host?
do you have any way to run a shell command on the server?
I think composer install has not been executed for your applicarion yet
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello, I am trying to deploying the laravel 9 application from the cpanel. After setup is completed, when I hit the website, I got this error
Fatal error: Uncaught ReflectionException: Class "config" does not exist in /vendor/laravel/framework/src/Illuminate/Container/Container.php:877 Stack trace: #0
How to solve this error?
Thank you
@nanotanitim Yes, it is due to server configuration. contact your host provider. I complained to host provider and it worked after 2-3 week automatically.
Please or to participate in this conversation.