Peter
Peter

Reputation: 2702

"Please provide a valid cache path" error after upgrade above 5.2.39

I have strange problem. After upgrading from 5.2.39 to 5.2.40 or 5.2.41 I get Throw exception if view cache path is empty.

I cannot revert the change - after upgrade all Composer or Artisan comments fail I guess is related to the change in Laravel 5.2.40.

How I can fix this?

A problem like this was fixed here but the solution doesn't work in my case.

Dirty fix

Only preemption for future damage. I still cannot fix the damaged app. I replaced laravel/framework": "5.2.*",with "laravel/framework": "5.2.39", to avoid breaking up this and other apps I have built. After the change the composer update would not disrupt my app.

Upvotes: 1

Views: 3859

Answers (2)

Himanshu Upadhyay
Himanshu Upadhyay

Reputation: 6565

I had the same problem and I fixed it like this:

Create these folders under storage/framework:

sessions views cache

You probably will need to give permission to storage folder again like this:

sudo chmod -R 777 storage/

Upvotes: 0

Vinicius Alcantara
Vinicius Alcantara

Reputation: 306

I was having this problem too and I solve it when add the folder views in storage/framework, so just be sure that all folders did exists.

Upvotes: 3

Related Questions