# Mautic form submit issues after update http protocol

**URL:** <https://forum.mautic.org/t/mautic-form-submit-issues-after-update-http-protocol/8998>\
**Category:** Product Support\
**Created:** [July 19, 2017, 5:14pm UTC](https://forum.mautic.org/t/mautic-form-submit-issues-after-update-http-protocol/8998 "2017-07-19T17:14:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielshad](https://avatars.discourse-cdn.com/v4/letter/d/a88e57/32.png) [@danielshad](https://forum.mautic.org/u/danielshad)\
**Post date:** [July 19, 2017, 5:14pm UTC](https://forum.mautic.org/t/mautic-form-submit-issues-after-update-http-protocol/8998/1 "2017-07-19T17:14:44Z")

</div>

Hey guys, good afternoon!  
  
  
  
I got some issues after update my http protocol to https.  
  
  
  
After rebuild cache and delete the /prod folder from cache, i had no success

Quote:

(On submit form): Failed to load resource: the server responded with a status of 500 (Internal Server Error)  
app.js?v3ed5fef6:219 Uncaught DOMException: Blocked a frame with origin “https://subdomain.mydomain.com.br” from accessing a cross-origin frame.  
at HTMLDocument. (https://subdomain.mydomain.com.br/media/js/app.js?v3ed5fef6:219:67)  
at fire (https://subdomain.mydomain.com.br/media/js/libraries.js?v3ed5fef6:328:299)  
at Object.fireWith [as resolveWith] (https://subdomain.mydomain.com.br/media/js/libraries.js?v3ed5fef6:333:198)  
at Function.ready (https://subdomain.mydomain.com.br/media/js/libraries.js?v3ed5fef6:340:11)  
at HTMLDocument.completed (https://subdomain.mydomain.com.br/media/js/libraries.js?v3ed5fef6:340:291)  
(On submit form): Failed to load resource: the server responded with a status of 500 (Internal Server Error)

  
I already did:  
  
- changes in apache htdocs from SAMEORIGIN to GOFORIT  
- the proccess above didnt works, so i commented the same X-FrameOptions line  
- rebuild the cache  
- enabled/disabled CORS settings and whitelisted my domains and subdomains with https protocol  
  
  
Mautic log  

Quote:

[2017-07-18 21:10:21] 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 /[mautic\_root]/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 /[mautic\_root]/vendor/doctrine/orm/lib/Doctrine/ORM/ORMInvalidArgumentException.php:92)"} []

  
Apache log for the last 3 days  

Quote:

[Sun Jul 16 17:33:57.193373 2017] [authz\_core:error] [pid 1804:tid 140081474029312] [client ip] AH01630: client denied by server configuration: /[root]/phpmyadmin/htdocs/scripts  
[Sun Jul 16 20:51:19.505048 2017] [authz\_core:error] [pid 1543:tid 140081255819008] [client ip] AH01630: client denied by server configuration: /[root]/phpmyadmin/htdocs/  
[Sun Jul 16 22:04:05.147980 2017] [authz\_core:error] [pid 1543:tid 140081314567936] [client ip] AH01630: client denied by server configuration: /[root]/phpmyadmin/htdocs/

  
Any suggestion?  
  
Thanks

---

<div class="post-metadata">

**Author:** ![danielshad](https://avatars.discourse-cdn.com/v4/letter/d/a88e57/32.png) [@danielshad](https://forum.mautic.org/u/danielshad)\
**Post date:** [July 19, 2017, 5:14pm UTC](https://forum.mautic.org/t/mautic-form-submit-issues-after-update-http-protocol/8998/2 "2017-07-19T17:14:44Z")

</div>

Hey guys, good afternoon!

I got some issues after update my http protocol to https.

After rebuild cache and delete the /prod folder from cache, i had no success

[quote](On submit form): Failed to load resource: the server responded with a status of 500 (Internal Server Error)  
app.js?v3ed5fef6:219 Uncaught DOMException: Blocked a frame with origin “[https://subdomain.mydomain.com.br](https://subdomain.mydomain.com.br)” from accessing a cross-origin frame.  
at HTMLDocument. ([https://subdomain.mydomain.com.br/media/js/app.js?v3ed5fef6:219:67](https://subdomain.mydomain.com.br/media/js/app.js?v3ed5fef6:219:67))  
at fire ([https://subdomain.mydomain.com.br/media/js/libraries.js?v3ed5fef6:328:299](https://subdomain.mydomain.com.br/media/js/libraries.js?v3ed5fef6:328:299))  
at Object.fireWith [as resolveWith] ([https://subdomain.mydomain.com.br/media/js/libraries.js?v3ed5fef6:333:198](https://subdomain.mydomain.com.br/media/js/libraries.js?v3ed5fef6:333:198))  
at Function.ready ([https://subdomain.mydomain.com.br/media/js/libraries.js?v3ed5fef6:340:11](https://subdomain.mydomain.com.br/media/js/libraries.js?v3ed5fef6:340:11))  
at HTMLDocument.completed ([https://subdomain.mydomain.com.br/media/js/libraries.js?v3ed5fef6:340:291](https://subdomain.mydomain.com.br/media/js/libraries.js?v3ed5fef6:340:291))  
(On submit form): Failed to load resource: the server responded with a status of 500 (Internal Server Error)[/quote]

I already did:

- changes in apache htdocs from SAMEORIGIN to GOFORIT
- the proccess above didnt works, so i commented the same X-FrameOptions line
- rebuild the cache
- enabled/disabled CORS settings and whitelisted my domains and subdomains with https protocol

Mautic log

> [@](#):
>
> [2017-07-18 21:10:21] 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 /[mautic\_root]/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 /[mautic\_root]/vendor/doctrine/orm/lib/Doctrine/ORM/ORMInvalidArgumentException.php:92)”}

Apache log for the last 3 days

[quote][Sun Jul 16 17:33:57.193373 2017] [authz\_core:error] [pid 1804:tid 140081474029312] [client ip] AH01630: client denied by server configuration: /[root]/phpmyadmin/htdocs/scripts  
[Sun Jul 16 20:51:19.505048 2017] [authz\_core:error] [pid 1543:tid 140081255819008] [client ip] AH01630: client denied by server configuration: /[root]/phpmyadmin/htdocs/  
[Sun Jul 16 22:04:05.147980 2017] [authz\_core:error] [pid 1543:tid 140081314567936] [client ip] AH01630: client denied by server configuration: /[root]/phpmyadmin/htdocs/[/quote]

Any suggestion?

Thanks

---

<div class="post-metadata">

**Author:** ![ffmarketing](https://avatars.discourse-cdn.com/v4/letter/f/ecae2f/32.png) [@ffmarketing](https://forum.mautic.org/u/ffmarketing)\
**Post date:** [July 21, 2017, 2:03am UTC](https://forum.mautic.org/t/mautic-form-submit-issues-after-update-http-protocol/8998/3 "2017-07-21T02:03:52Z")

</div>

@danielshad I have the same Mautic log error, cannot submit any forms on fresh install of 2.9.0, just get 500 error every time. Any progress? Thoughts on how to fix?
