Reputation: 2702
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.
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
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
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