Mautic Community Forums

Mautic:Critical error

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)"} []

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)"} []

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)"} []

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