Fatal error: Uncaught exception 'ReflectionException' with message 'Class Admin\CommentBundle\Entity\Serial does not exist' in /var/www/andrey/data/www/vendor/doctrine/common/lib/Doctrine/Common/Proxy/ProxyGenerator.php:949 Stack trace: #0 /var/www/andrey/data/www/vendor/doctrine/common/lib/Doctrine/Common/Proxy/ProxyGenerator.php(949): ReflectionParameter->getClass() #1 /var/www/andrey/data/www/vendor/doctrine/common/lib/Doctrine/Common/Proxy/ProxyGenerator.php(902): Doctrine\Common\Proxy\ProxyGenerator->getParameterType(Object(Doctrine\ORM\Mapping\ClassMetadata), Object(ReflectionMethod), Object(ReflectionParameter)) #2 /var/www/andrey/data/www/vendor/doctrine/common/lib/Doctrine/Common/Proxy/ProxyGenerator.php(779): Doctrine\Common\Proxy\ProxyGenerator->buildParametersString(Object(Doctrine\ORM\Mapping\ClassMetadata), Object(ReflectionMethod), Array) #3 [internal function]: Doctrine\Common\Proxy\ProxyGenerator->generateMethods(Object(Doctrine\ORM\Mapping\ClassMetadata)) #4 /var/www/andrey/data/www/vendor/doctrine/commo in /var/www/andrey/data/www/vendor/doctrine/common/lib/Doctrine/Common/Proxy/Exception/UnexpectedValueException.php on line 53