I’m trying to create a log system on my website running Symfony 4. Everytime an exception is thrown, I catch it into a listener, and then create a Log entity containing the exception values and also send it to me by email. But the fact is when the exception is a Doctrine PDO Exception, the ..
I’m hope your are doing fine ! I have a problem about the flush on 2 linked entities (ManyToOne, OneToMany). I’m on Symfony 5.1. I just want to persist one "UserSavedCard" with many "UserCartSavedProducts" entities. But I have an error when I flushed my entities and this error come to this file "in vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php (line ..