# Need help with errors

**URL:** <https://forum.mautic.org/t/need-help-with-errors/6475>\
**Category:** Product Support\
**Created:** [November 7, 2016, 9:52pm UTC](https://forum.mautic.org/t/need-help-with-errors/6475 "2016-11-07T21:52:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rodfernand](https://avatars.discourse-cdn.com/v4/letter/r/9de0a6/32.png) [@rodfernand](https://forum.mautic.org/u/rodfernand)\
**Post date:** [November 7, 2016, 9:52pm UTC](https://forum.mautic.org/t/need-help-with-errors/6475/1 "2016-11-07T21:52:20Z")

</div>

Hello therre!  
  
  
  
I received the following errors and I can’t understand them. I recently updated from 2.1.2 to 2.2.1 and I was sending an email to one of my lists. below are my errors:

Code:

[2016-11-07 14:41:34] 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 #13178. 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 /var/www/domain\_path\_to\_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\FormBundle\Entity\Submission#lead' that was not configured to cascade persist operations for entity: Mautic\LeadBundle\Entity\Lead with ID #13178. 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 /var/www/domain\_path\_to\_mautic/vendor/doctrine/orm/lib/Doctrine/ORM/ORMInvalidArgumentException.php:92)"} []

[2016-11-07 16:13:56] 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 #13185. 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 /var/www/swgins.com/m/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 #13185. 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 /var/www/domain\_path\_to\_mautic/vendor/doctrine/orm/lib/Doctrine/ORM/ORMInvalidArgumentException.php:92)"} []

[2016-11-07 19:32:40] mautic.NOTICE: PHP Notice: SessionHandler::gc(): ps\_files\_cleanup\_dir: opendir(/var/lib/php5/sessions) failed: Permission denied (13) - in file /var/www/domain\_path\_to\_mautic/app/cache/prod/classes.php - at line 428 [] []

[2016-11-07 19:32:40] mautic.ERROR: Deprecation: The SymfonyComponentSecurityCoreSecurityContext class is deprecated since version 2.6 and will be removed in 3.0. Use SymfonyComponentSecurityCoreAuthenticationTokenStorageTokenStorage or SymfonyComponentSecurityCoreAuthorizationAuthorizationChecker instead. - in file /var/www/domain\_path\_to\_mautic/vendor/symfony/security/Core/SecurityContext.php - at line 14 [] []

[2016-11-07 14:59:14] mautic.ERROR: Deprecation: The alias option of the form.type\_extension tag of service “fos\_rest.form.extension.csrf\_disable” is deprecated since version 2.8 and will be removed in 3.0. Use the extended\_type option instead. - in file /var/www/domain\_path\_to\_mautic/vendor/symfony/framework-bundle/DependencyInjection/Compiler/FormPass.php - at line 67 [] []

[2016-11-07 21:16:17] mautic.CRITICAL: Uncaught PHP Exception InvalidArgumentException: “The string ,f��&�U�"���0U{,f��{�f��������{�f�lzfe{��zf�0�n���lzfe{�f����4�W&f�uc0��0c���W&�W92,��vz�gy�{�f����4��2W.z�vzf�0�n���lzfe{��7 is not a serialized array.” at /var/www/domain\_path\_to\_mautic/app/bundles/CoreBundle/Model/AbstractCommonModel.php line 259 []

  
Your help would be greatly appreciated!!  
  
Rodrigo

---

<div class="post-metadata">

**Author:** ![rodfernand](https://avatars.discourse-cdn.com/v4/letter/r/9de0a6/32.png) [@rodfernand](https://forum.mautic.org/u/rodfernand)\
**Post date:** [November 7, 2016, 9:52pm UTC](https://forum.mautic.org/t/need-help-with-errors/6475/2 "2016-11-07T21:52:20Z")

</div>

Hello therre!

I received the following errors and I can’t understand them. I recently updated from 2.1.2 to 2.2.1 and I was sending an email to one of my lists. below are my errors:

[code][2016-11-07 14:41:34] 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 #13178. 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 /var/www/domain\_path\_to\_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\FormBundle\Entity\Submission#lead’ that was not configured to cascade persist operations for entity: Mautic\LeadBundle\Entity\Lead with ID #13178. 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 /var/www/domain\_path\_to\_mautic/vendor/doctrine/orm/lib/Doctrine/ORM/ORMInvalidArgumentException.php:92)"} []

[2016-11-07 16:13:56] 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 #13185. 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 /var/www/swgins.com/m/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 #13185. 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 /var/www/domain\_path\_to\_mautic/vendor/doctrine/orm/lib/Doctrine/ORM/ORMInvalidArgumentException.php:92)"} []

[2016-11-07 19:32:40] mautic.NOTICE: PHP Notice: SessionHandler::gc(): ps\_files\_cleanup\_dir: opendir(/var/lib/php5/sessions) failed: Permission denied (13) - in file /var/www/domain\_path\_to\_mautic/app/cache/prod/classes.php - at line 428 [] []

[2016-11-07 19:32:40] mautic.ERROR: Deprecation: The SymfonyComponentSecurityCoreSecurityContext class is deprecated since version 2.6 and will be removed in 3.0. Use SymfonyComponentSecurityCoreAuthenticationTokenStorageTokenStorage or SymfonyComponentSecurityCoreAuthorizationAuthorizationChecker instead. - in file /var/www/domain\_path\_to\_mautic/vendor/symfony/security/Core/SecurityContext.php - at line 14 [] []

[2016-11-07 14:59:14] mautic.ERROR: Deprecation: The alias option of the form.type\_extension tag of service “fos\_rest.form.extension.csrf\_disable” is deprecated since version 2.8 and will be removed in 3.0. Use the extended\_type option instead. - in file /var/www/domain\_path\_to\_mautic/vendor/symfony/framework-bundle/DependencyInjection/Compiler/FormPass.php - at line 67 [] []

[2016-11-07 21:16:17] mautic.CRITICAL: Uncaught PHP Exception InvalidArgumentException: “The string ,f��&a�U�"���0U{,f��a{�f��������{�f�alzfe{��zf�0�n���alzfe{�f����4�W&af�uc0��0c���W&a�W92,��avz�gy�{�f����4��2W.az�vzf�0�n���alzfe{��7 is not a serialized array.” at /var/www/domain\_path\_to\_mautic/app/bundles/CoreBundle/Model/AbstractCommonModel.php line 259 [][/code]

Your help would be greatly appreciated!!

Rodrigo

---

<div class="post-metadata">

**Author:** ![rodfernand](https://avatars.discourse-cdn.com/v4/letter/r/9de0a6/32.png) [@rodfernand](https://forum.mautic.org/u/rodfernand)\
**Post date:** [November 8, 2016, 12:54pm UTC](https://forum.mautic.org/t/need-help-with-errors/6475/3 "2016-11-08T12:54:20Z")

</div>

Anybody?
