Laravel often throw this error due to it cannot find a storage cache folder, You need to rebuild the storage folders, they are in your .gitignore file so wont be copied when you clone a project (as they are never pushed to the repo).


Try the following:

create these folders under storage/framework:

  • sessions
  • views
  • cache

Now it should work