Page MenuHomeDevCentral

InvalidArgumentException: Please provide a valid cache path.
Closed, ResolvedPublic

Description

After D2761 deployment, we've a new Notifications center on Dwellers.

https://sentry.nasqueron.org/organizations/nasqueron/issues/52/?referrer=phabricator_plugin

InvalidArgumentException: Please provide a valid cache path.
  File "/public/index.php", line 52
    $response = $kernel->handle(
...
(17 additional frame(s) were not displayed)

Subdirectories required by Laravel framework to store views, etc. doesn't seem to be created automatically.

Event Timeline

Not sure at one moment the issue was solved, with opcache it's not easy to know, but just restart the server after creating the directories wasn't enough.

php artisan cache:clear (documented) and php artisan optimize (not documented) could have helped too after the deployment.