Doctrine\Common\Proxy\Exception\UnexpectedValueException » Main

Message Your proxy directory "/home/demo/apps/demo/current/var/cache/prod/doctrine/orm/Proxies" must be writable
File /home/demo/apps/demo/current/vendor/doctrine/common/lib/Doctrine/Common/Proxy/Exception/UnexpectedValueException.php
Line 22
Date Wed, 20 Jan 2021 14:00:51 +0100
URL http://demo.fork-cms.com/ru/soglashenie
Referring URL (Unknown)
Request Method GET
User-agent CCBot/2.0 (https://commoncrawl.org/faq/)
PHP error mkdir(): Permission denied
 

Doctrine\Common\Proxy\Exception\UnexpectedValueException » Trace

File /home/demo/apps/demo/current/vendor/doctrine/common/lib/Doctrine/Common/Proxy/ProxyGenerator.php
Line 291
Class Doctrine\Common\Proxy\Exception\UnexpectedValueException
Function proxyDirectoryNotWritable
File /home/demo/apps/demo/current/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php
Line 150
Class Doctrine\Common\Proxy\ProxyGenerator
Function generateProxyClass
File /home/demo/apps/demo/current/vendor/symfony/symfony/src/Symfony/Bridge/Doctrine/CacheWarmer/ProxyCacheWarmer.php
Line 70
Class Doctrine\Common\Proxy\AbstractProxyFactory
Function generateProxyClasses
File /home/demo/apps/demo/current/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/CacheWarmer/CacheWarmerAggregate.php
Line 52
Class Symfony\Bridge\Doctrine\CacheWarmer\ProxyCacheWarmer
Function warmUp
File /home/demo/apps/demo/current/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php
Line 686
Class Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate
Function warmUp
File /home/demo/apps/demo/current/app/Kernel.php
Line 216
Class Symfony\Component\HttpKernel\Kernel
Function initializeContainer
File /home/demo/apps/demo/current/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php
Line 135
Class ForkCMS\App\Kernel
Function initializeContainer
File /home/demo/apps/demo/current/app/Kernel.php
Line 65
Class Symfony\Component\HttpKernel\Kernel
Function boot
File /home/demo/apps/demo/current/app/Kernel.php
Line 40
Class ForkCMS\App\Kernel
Function boot
File /home/demo/apps/demo/current/index.php
Line 58
Class ForkCMS\App\Kernel
Function __construct