“Missing value for primary key”
问题 I'd just migrated to Symfony 3.4 and had this kind of message : request.CRITICAL: Uncaught PHP Exception Doctrine\Common\Proxy\Exception\OutOfBoundsException: "Missing value for primary key idBen on Lea\PrestaBundle\Entity\EgwContact" at /htdocs/vendor/doctrine/common/lib/Doctrine/Common/Proxy/Exception/OutOfBoundsException.php line 40 Thanks in advance for your help Here is my entity code for egw_contact : <?php namespace Lea\PrestaBundle\Entity; use Doctrine\ORM\Mapping as ORM; use Doctrine