Hi all, I received an exception when I tried to flush the filesystem cache from a Zend\Console action. $cache = new \Zend\Cache\Storage\Adapter\Filesystem();
$cache->setOptions(array('cacheDir' => \Gamempire\Entity\Image::IMAGES_DIR_CACHE)); $cache->flush();
====================================================================== The application has thrown an exception!======================================================================
Zend\Cache\Exception\RuntimeException Flushing directory '/xxx/data/cache/images' failedIf i do it from a normal action and an http request, all is working fine.
Do you know if it's a bug?