InvalidArgumentException in Compiler.php: Please provide a valid cache path.
Laravel has changed cache path across Laravel versions. It's possible your application is missing one of these folders or references one of the old paths.
There are several options which may resolve this issue. Start by trying the following common solutions:
bootstrap/cache
folder exists.storage
folder contains the correct subfolders for your Laravel version (e.g. app
, framework
, logs
).artisan cache:clear
and artisan config:clear
.artisan
does not run, manually clear your cache by removing any PHP file under the bootstrap/cache
folder.Sign in with any of the following services to connect Shift with your Laravel project.
Don't use one of these services?
Temporarily push your project to a free, private repository on one of these cloud-based services or upgrade your project locally with Shift for Docker.