diff --git a/system/src/Grav/Common/Cache.php b/system/src/Grav/Common/Cache.php index 254f6fdd0..8e9ed3977 100644 --- a/system/src/Grav/Common/Cache.php +++ b/system/src/Grav/Common/Cache.php @@ -390,6 +390,7 @@ class Cache extends Getters // Convert stream to a real path try { $path = $locator->findResource($stream, true, true); + if($path === false) continue; $anything = false; $files = glob($path . '/*');