Sorry to raise this problem but could anyone please tell the the clue how to fix the below problem:
I’m getting this log error and the form is hang on submit button after hit submit. The problem happened after I upgrade to 2.9 and now it’s 2.9.1 and it’s still not be fixed
Code:
[2017-07-29 00:24:05] mautic.CRITICAL: Uncaught PHP Exception DoctrineORMORMInvalidArgumentException: "A new entity was found through the relationship 'MauticEmailBundleEntityStatDevice#stat' that was not configured to cascade persist operations for entity: MauticEmailBundleEntityStat@0000000052ca741c00000000025c21fc. 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"}). If you cannot find out which entity causes the problem implement 'MauticEmailBundleEntityStat#__toString()' to get a clue." at /home/go.firetoeic.com/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\EmailBundle\Entity\StatDevice#stat' that was not configured to cascade persist operations for entity: Mautic\EmailBundle\Entity\Stat@0000000052ca741c00000000025c21fc. 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"}). If you cannot find out which entity causes the problem implement 'Mautic\EmailBundle\Entity\Stat#__toString()' to get a clue. at /home/go.firetoeic.com/public_html/vendor/doctrine/orm/lib/Doctrine/ORM/ORMInvalidArgumentException.php:92)"} []
you can test the form here: https://go.firetoeic.com/form/20
Sorry to raise this problem but could anyone please tell the the clue how to fix the below problem:
I’m getting this log error and the form is hang on submit button after hit submit. The problem happened after I upgrade to 2.9 and now it’s 2.9.1 and it’s still not be fixed
[2017-07-29 00:24:05] mautic.CRITICAL: Uncaught PHP Exception DoctrineORMORMInvalidArgumentException: "A new entity was found through the relationship 'MauticEmailBundleEntityStatDevice#stat' that was not configured to cascade persist operations for entity: MauticEmailBundleEntityStat@0000000052ca741c00000000025c21fc. 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"}). If you cannot find out which entity causes the problem implement 'MauticEmailBundleEntityStat#__toString()' to get a clue." at /home/go.firetoeic.com/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\EmailBundle\Entity\StatDevice#stat' that was not configured to cascade persist operations for entity: Mautic\EmailBundle\Entity\Stat@0000000052ca741c00000000025c21fc. 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"}). If you cannot find out which entity causes the problem implement 'Mautic\EmailBundle\Entity\Stat#__toString()' to get a clue. at /home/go.firetoeic.com/public_html/vendor/doctrine/orm/lib/Doctrine/ORM/ORMInvalidArgumentException.php:92)"} []
@escopecz Do you have any advise on this issue? I notice numerous posts on this topic on Mautic forums and also on GitHiub with no explanation on how to fix the issue…?
Sorry, multiple threads on this. Bad online behavior.
I have no error messages. I turned on Debugging even and I see no errors.
[2017-08-09 07:44:28] mautic.DEBUG: LEAD: System lead is being used
[2017-08-09 07:44:28] mautic.DEBUG: LEAD: In a Mautic user session
[2017-08-09 07:44:28] mautic.DEBUG: LEAD: System lead is being used
[2017-08-09 07:44:28] mautic.DEBUG: LEAD: In a Mautic user session
[2017-08-09 07:44:36] mautic.DEBUG: LEAD: System lead is being used
[2017-08-09 07:44:36] mautic.DEBUG: LEAD: In a Mautic user session
[2017-08-09 07:44:36] mautic.DEBUG: FORM: Not in kiosk mode so using current contact ID #
[2017-08-09 07:44:36] mautic.DEBUG: FORM: Unique fields submitted include xxx
[2017-08-09 07:44:36] mautic.DEBUG: 1 found based on unique identifiers
[2017-08-09 07:44:36] mautic.DEBUG: FORM: Testing contact ID# 1174 for conflicts
[2017-08-09 07:44:36] mautic.DEBUG: FORM: Potential conflicts 0 = email
[2017-08-09 07:44:36] mautic.DEBUG: FORM: In kiosk mode so not merging
[2017-08-09 07:44:36] mautic.DEBUG: FORM: Potential conflicts 0 = email
[2017-08-09 07:44:36] mautic.DEBUG: FORM: Current unique contact fields email = xxx
[2017-08-09 07:44:36] mautic.DEBUG: FORM: Submitted unique contact fields email = xxx
[2017-08-09 07:44:36] mautic.DEBUG: FORM: Associating 127.0.0.1 to contact
[2017-08-09 07:44:36] mautic.DEBUG: LEAD: 1174 set as current lead.
[2017-08-09 07:44:36] mautic.DEBUG: LEAD: In a Mautic user session
[2017-08-09 07:44:36] mautic.DEBUG: LEAD: 1174 set as system lead.
[2017-08-09 07:44:36] mautic.DEBUG: LEAD: System lead is being used
[2017-08-09 07:44:36] mautic.DEBUG: LEAD: In a Mautic user session
[2017-08-09 07:44:36] mautic.DEBUG: CAMPAIGN: Campaign triggered for event type form.submit(form / 5)
[2017-08-09 07:44:36] mautic.DEBUG: LEAD: System lead is being used
[2017-08-09 07:44:36] mautic.DEBUG: LEAD: In a Mautic user session
[2017-08-09 07:44:36] mautic.DEBUG: CAMPAIGN: Current Lead ID# 1174
[2017-08-09 07:44:36] mautic.DEBUG: CAMPAIGN: no campaigns found so abort
[2017-08-09 07:44:36] mautic.DEBUG: LEAD: System lead is being used
[2017-08-09 07:44:36] mautic.DEBUG: LEAD: In a Mautic user session
I replaced the email address with xxx on what I pasted
THANKS!
testform:37 Mixed Content: The page at 'https://www.padtinc.com/mautic/testform' was loaded over HTTPS, but requested an insecure script 'http://www.padtinc.com/mautic/media/js/mautic-form.js'. This request has been blocked; the content must be served over HTTPS.
It’s my first test of mautic. I’m on v2.9.2, but none of the forms I created performs the redirect or displays a message after the form submit. Here’s a test page: https://dev.michaelvanlaar.com/mautic/test2
All assets are included via https, so the mixed content problem should not apply here.
@escopecz Good evening. I am currently using the latest version of Mautic and have also the SSL settings configured… I am seeing no errors in Dev Console… can you check my link and let me know your thoughts? Thanks!
@jwldub I don’t see anything wrong with your form either. The problem is that the form doesn’t display the success message, right? I’ve seen such problem last week at someone else already, so there must be some bug. But I cannot replicate it. Can you replicate it with an other form? If so, can you find out what option is causing it?
Same issue on one of my forms, tried recreating the form to no avail (I’m on the latest version).
The form that doesn’t work has a download asset option (tested, still doesn’t work after removal of asset from actions). Almost as if all forms created after a certain version do not work, but forms created before do.