Warning: chmod(): No such file or directory in /core/lib/symfony/cache/sfFileCache.class.php on line 566

Fatal error: Uncaught TypeError: flock(): Argument #1 ($stream) must be of type resource, bool given in /core/lib/symfony/cache/sfFileCache.class.php:483 Stack trace: #0 /core/lib/symfony/cache/sfFileCache.class.php(483): flock() #1 /core/lib/symfony/cache/sfFileCache.class.php(587): sfFileCache->read() #2 /core/lib/symfony/cache/sfFileCache.class.php(307): sfFileCache->writeAndControl() #3 /core/lib/symfony/config/sfConfigCache.class.php(351): sfFileCache->set() #4 /core/lib/symfony/config/sfConfigCache.class.php(105): sfConfigCache->writeCacheFile() #5 /core/lib/symfony/config/sfConfigCache.class.php(190): sfConfigCache->callHandler() #6 /core/lib/symfony/symfony.php(100): sfConfigCache->checkConfig() #7 /core/lib/symfony/util/stCore.class.php(47): require('...') #8 /core/lib/symfony/util/stCore.class.php(15): stCore::callBootstrap() #9 /core/apps/frontend/config/config.php(31): stCore::bootstrap() #10 /index.php(63): require_once('...') #11 {main} thrown in /core/lib/symfony/cache/sfFileCache.class.php on line 483