Skip to content

'class view() does not exist' error when bootstrap/cache is not present or writable #17969

@macdabby

Description

@macdabby
  • Laravel Version: 5.4
  • PHP Version: hhvm 3.15.4
  • Database Driver & Version:

Description:

There is a required directory bootstrap/cache that is required. This is documented in the upgrade docs. However we use a build process that goes through jenkins and at some point the directory became unwritable. This took a very long time to debug, because the only error was 'class view() does not exist'. When a directory like that is required, there should be logic to present an error when writing to that directory fails.

Steps To Reproduce:

Delete the cache folder or make it unwritable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions