# mautic.WARNING: PHP Warning on FormModel.php

**URL:** <https://forum.mautic.org/t/mautic-warning-php-warning-on-formmodel-php/10768>\
**Category:** Product Support\
**Created:** [October 25, 2018, 8:46am UTC](https://forum.mautic.org/t/mautic-warning-php-warning-on-formmodel-php/10768 "2018-10-25T08:46:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JBG](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/jbg/32/100_2.png) [@JBG](https://forum.mautic.org/u/JBG)\
**Post date:** [October 25, 2018, 8:46am UTC](https://forum.mautic.org/t/mautic-warning-php-warning-on-formmodel-php/10768/1 "2018-10-25T08:46:34Z")

</div>

Hi, JB from France here.  
I had quite a few problems to update to latest v2.14.2, but finaly made it (thank to John Linhart for the help) Now I can not see my form anymore and looking at the log I found this :  
[2018-10-25 13:34:22] mautic.WARNING: PHP Warning - DOMDocument::loadHTML() expects parameter 2 to be integer, string given - in file /var/www/vhosts/glgdev.marketing/httpdocs/app/bundles/FormBundle/Model/FormModel.php - at line 854 [] []  
[2018-10-25 13:34:22] mautic.WARNING: PHP Warning - DOMDocument::loadHTML() expects parameter 2 to be integer, string given - in file /var/www/vhosts/glgdev.marketing/httpdocs/app/bundles/FormBundle/Model/FormModel.php - at line 873 [] []  
[2018-10-25 13:34:22] mautic.WARNING: PHP Warning - Invalid argument supplied for foreach() - in file /var/www/vhosts/glgdev.marketing/httpdocs/app/bundles/FormBundle/Model/FormModel.php - at line 884 [] []

any idea on how to fix ,  
thank’s  
JB

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [October 17, 2019, 4:33pm UTC](https://forum.mautic.org/t/mautic-warning-php-warning-on-formmodel-php/10768/2 "2019-10-17T16:33:15Z")

</div>


