# recent mautic upgrade: server errors

**URL:** <https://forum.mautic.org/t/recent-mautic-upgrade-server-errors/8982>\
**Category:** Product Support\
**Created:** [July 18, 2017, 7:00pm UTC](https://forum.mautic.org/t/recent-mautic-upgrade-server-errors/8982 "2017-07-18T19:00:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![getclients](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/getclients/32/186_2.png) [@getclients](https://forum.mautic.org/u/getclients)\
**Post date:** [July 18, 2017, 7:00pm UTC](https://forum.mautic.org/t/recent-mautic-upgrade-server-errors/8982/1 "2017-07-18T19:00:37Z")

</div>

Hi  
  
  
  
Ever since i upgraded to the latest version of Mautic i’ve been getting this error  
  
  
  
screenshot: [https://www.screencast.com/t/1a2dDRZDt0z](https://www.screencast.com/t/1a2dDRZDt0z)  
  
  
  
it happens when i try to submit a form, sometimes it works and sometimes it doesnt  
  
  
  
this is the error log below  
  
  
  
how do i fix this?  
  
  
  
[2017-07-18 19:27:27] mautic.CRITICAL: Uncaught PHP Exception DoctrineORMORMInvalidArgumentException: “A new entity was found through the relationship ‘MauticFormBundleEntitySubmission#lead’ that was not configured to cascade persist operations for entity: MauticLeadBundleEntityLead with ID #. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(…,cascade={“persist”}).” at /home/mydomainname/public\_html/vendor/doctrine/orm/lib/Doctrine/ORM/ORMInvalidArgumentException.php line 92 {“exception”:"[object] (Doctrine\ORM\ORMInvalidArgumentException(code: 0): A new entity was found through the relationship ‘Mautic\FormBundle\Entity\Submission#lead’ that was not configured to cascade persist operations for entity: Mautic\LeadBundle\Entity\Lead with ID #. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(…,cascade={“persist”}). at /home/mydomainname/public\_html/vendor/doctrine/orm/lib/Doctrine/ORM/ORMInvalidArgumentException.php:92)"} []

---

<div class="post-metadata">

**Author:** ![getclients](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/getclients/32/186_2.png) [@getclients](https://forum.mautic.org/u/getclients)\
**Post date:** [July 18, 2017, 7:00pm UTC](https://forum.mautic.org/t/recent-mautic-upgrade-server-errors/8982/2 "2017-07-18T19:00:37Z")

</div>

Hi

Ever since i upgraded to the latest version of Mautic i’ve been getting this error

screenshot: [https://www.screencast.com/t/1a2dDRZDt0z](https://www.screencast.com/t/1a2dDRZDt0z)

it happens when i try to submit a form, sometimes it works and sometimes it doesnt

this is the error log below

how do i fix this?

[2017-07-18 19:27:27] mautic.CRITICAL: Uncaught PHP Exception DoctrineORMORMInvalidArgumentException: “A new entity was found through the relationship ‘MauticFormBundleEntitySubmission#lead’ that was not configured to cascade persist operations for entity: MauticLeadBundleEntityLead with ID #. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(…,cascade={“persist”}).” at /home/mydomainname/public\_html/vendor/doctrine/orm/lib/Doctrine/ORM/ORMInvalidArgumentException.php line 92 {“exception”:"[object] (Doctrine\ORM\ORMInvalidArgumentException(code: 0): A new entity was found through the relationship ‘Mautic\FormBundle\Entity\Submission#lead’ that was not configured to cascade persist operations for entity: Mautic\LeadBundle\Entity\Lead with ID #. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(…,cascade={“persist”}). at /home/mydomainname/public\_html/vendor/doctrine/orm/lib/Doctrine/ORM/ORMInvalidArgumentException.php:92)"} []

---

<div class="post-metadata">

**Author:** ![jseevers](https://avatars.discourse-cdn.com/v4/letter/j/34f0e0/32.png) [@jseevers](https://forum.mautic.org/u/jseevers)\
**Post date:** [July 18, 2017, 7:06pm UTC](https://forum.mautic.org/t/recent-mautic-upgrade-server-errors/8982/3 "2017-07-18T19:06:36Z")

</div>

Have you tried some the suggestions posted here? [https://johnlinhart.com/blog/uh-oh-mautic-upgrade-was-not-successful](https://johnlinhart.com/blog/uh-oh-mautic-upgrade-was-not-successful)

---

<div class="post-metadata">

**Author:** ![getclients](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/getclients/32/186_2.png) [@getclients](https://forum.mautic.org/u/getclients)\
**Post date:** [July 21, 2017, 12:12pm UTC](https://forum.mautic.org/t/recent-mautic-upgrade-server-errors/8982/4 "2017-07-21T12:12:50Z")

</div>

Hi - Yes i have tried these suggestions but still seeing the error ☹

what else can i try?
