# Mautic:Critical error

**URL:** <https://forum.mautic.org/t/mautic-critical-error/8264>\
**Category:** Product Support\
**Created:** [April 20, 2017, 7:45am UTC](https://forum.mautic.org/t/mautic-critical-error/8264 "2017-04-20T07:45:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dellabella](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dellabella/32/677_2.png) [@dellabella](https://forum.mautic.org/u/dellabella)\
**Post date:** [April 20, 2017, 7:45am UTC](https://forum.mautic.org/t/mautic-critical-error/8264/1 "2017-04-20T07:45:11Z")

</div>

HI all  
  
Im getting the below error in mautic does someone have an idea - my leads are not reported also for some reason on the dashboard report on Contacts created - the contact is however created under contacts still. Anybody have ideas for me  
  
  
  
  
  
[2017-04-20 10:36:36] mautic.CRITICAL: Uncaught PHP Exception DoctrineORMORMInvalidArgumentException: “A new entity was found through the relationship ‘MauticCampaignBundleEntityLeadEventLog#lead’ that was not configured to cascade persist operations for entity: MauticLeadBundleEntityLead with ID #1280. 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 /usr/www/users/mypath/mautic/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\CampaignBundle\Entity\LeadEventLog#lead’ that was not configured to cascade persist operations for entity: Mautic\LeadBundle\Entity\Lead with ID #1280. 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 /usr/www/users/mypath/mautic/vendor/doctrine/orm/lib/Doctrine/ORM/ORMInvalidArgumentException.php:92)"} []

---

<div class="post-metadata">

**Author:** ![dellabella](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dellabella/32/677_2.png) [@dellabella](https://forum.mautic.org/u/dellabella)\
**Post date:** [April 20, 2017, 7:45am UTC](https://forum.mautic.org/t/mautic-critical-error/8264/2 "2017-04-20T07:45:11Z")

</div>

HI all  
Im getting the below error in mautic does someone have an idea - my leads are not reported also for some reason on the dashboard report on Contacts created - the contact is however created under contacts still. Anybody have ideas for me

[2017-04-20 10:36:36] mautic.CRITICAL: Uncaught PHP Exception DoctrineORMORMInvalidArgumentException: “A new entity was found through the relationship ‘MauticCampaignBundleEntityLeadEventLog#lead’ that was not configured to cascade persist operations for entity: MauticLeadBundleEntityLead with ID #1280. 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 /usr/www/users/mypath/mautic/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\CampaignBundle\Entity\LeadEventLog#lead’ that was not configured to cascade persist operations for entity: Mautic\LeadBundle\Entity\Lead with ID #1280. 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 /usr/www/users/mypath/mautic/vendor/doctrine/orm/lib/Doctrine/ORM/ORMInvalidArgumentException.php:92)"} []

---

<div class="post-metadata">

**Author:** ![Huckleberry](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/huckleberry/32/535_2.png) [@Huckleberry](https://forum.mautic.org/u/Huckleberry)\
**Post date:** [May 17, 2017, 3:13am UTC](https://forum.mautic.org/t/mautic-critical-error/8264/3 "2017-05-17T03:13:45Z")

</div>

Same. And the one below. Just updated to the latest: v.2.8.1. Any ideas anyone?

[2017-05-17 00:04:03] mautic.CRITICAL: Uncaught PHP Exception DoctrineDBALExceptionInvalidFieldNameException: “An exception occurred while executing ‘UPDATE campaign\_events SET parent\_id = ? WHERE parent\_id IN (newa6d01bfeb1f03f2951e7d848077bbcd451373559)’ with params [null]: SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘newa6d01bfeb1f03f2951e7d848077bbcd451373559’ in ‘where clause’” at /path/to/mautic/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 71 {“exception”:"[object] (Doctrine\DBAL\Exception\InvalidFieldNameException(code: 0): An exception occurred while executing ‘UPDATE campaign\_events SET parent\_id = ? WHERE parent\_id IN (newa6d01bfeb1f03f2951e7d848077bbcd451373559)’ with params [null]:nnSQLSTATE[42S22]: Column not found: 1054 Unknown column ‘newa6d01bfeb1f03f2951e7d848077bbcd451373559’ in ‘where clause’ at /path/to/mautic/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:71, Doctrine\DBAL\Driver\PDOException(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘newa6d01bfeb1f03f2951e7d848077bbcd451373559’ in ‘where clause’ at /path/to/mautic/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:93, PDOException(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘newa6d01bfeb1f03f2951e7d848077bbcd451373559’ in ‘where clause’ at /path/to/mautic/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:91)"} []

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [May 20, 2017, 7:06am UTC](https://forum.mautic.org/t/mautic-critical-error/8264/4 "2017-05-20T07:06:06Z")

</div>

Please talk to your hosting provider , you needs to update your server. because mautic needs php updation to run mautic soomthly.
