*While using the Cache class, I'm getting the following error. *
{
"message": "Class 'League\Flysystem\Cached\Storage\AbstractCache' not found",
"exception": "Symfony\Component\Debug\Exception\FatalErrorException",
"file": "D:\Documents\Websites\ritechase-web\vendor\laravel\framework\src\Illuminate\Filesystem\Cache.php",
"line": 8,
"trace": []
}
It sounds like you're using wrong Cache class. If you actually want to use Flysystem's cache, install the league/flysystem-cached-adapter package as suggested in composer.json.
i think you just need to use fecade library cache not filesystem it work for me
Try this:
use Illuminate\Support\Facades\Cache;
Most helpful comment
i think you just need to use fecade library cache not filesystem it work for me