Level 7
It's related to a package, https://github.com/RachidLaasri/LaravelInstaller/issues/138 This is the issue, I managed to solve it.
Solved by removing the package.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello, I get this error each time I cache my config:
Uncaught ReflectionException: Class config does not exist in /project/path/vendor/framework/src/illuminate/Container/Container.php:767
Note, I do not get this error on artisan config:cache but I get it on everything after, even composer dump-autoload.
I can solve this by deleting config.php in bootstrap/cache. then the error is gone. Cache and it's back. I Uncommented the whole .env file and it still happens. Where do I start to look for issues?
It's related to a package, https://github.com/RachidLaasri/LaravelInstaller/issues/138 This is the issue, I managed to solve it.
Solved by removing the package.
Please or to participate in this conversation.