group-icon
Laravel Developers
Group for Laravel Developers - Beginners & Experienced.
32 Members
Join this group to post and comment.
02 Feb 2019

"Failed to clear cache. Make sure you have the appropriate permissions." - Fix Laravel Cache Error

While clearing Laravel Cache, if you are getting error message "Failed to clear cache. Make sure you have the appropriate permissions.", then the fix is really simple. 

The error is thrown when Laravel cannot find the 'data' directory inside storage->framework->cache directory. 

Simply create the data directory inside 'cache', and then run -

php artisan cache:clear

Laravel should now clear your Cache without any issues. If you face any problem, post it below.