Reputation: 668
Full error:
Exception has occurred.
Illuminate\Contracts\Filesystem\FileNotFoundException: File does not exist at path D:\Projects\shop\back-end\storage\framework/cache/data/9c/1c/9c1c01dc3ac1445a500251fc34a15d3e75a849df
I tried php artisan cache:clear, php artisan config:cache. No result..
Upvotes: 6
Views: 6260
Reputation: 91
If you are accessing your cache store with Cache::has()
this is expected behaviour. Deep down Cache::has()
will try to access the anticipated location and will throw a FileNotFoundException
if the location is not present. (Source)
In Illuminate\Cache\FileStore
this exception is caught and converted to an empty payload. (Source)
Some debugging tools, like XDebug, will halt on the FileNotFoundException
which you can consider a false positive.
Upvotes: 8