My Mautic version is: v2.15.3
My PHP version is: 7.0
My problem is: since upgrading to this version, campaigns have ceased working, menu items in the Mautic app are not responding (e.g. if I click on channels, emails…it stays on the dashboard screen), and my logs have become full of the below:-
These errors are showing in the log:
[2020-02-05 00:04:34] mautic.WARNING: PHP Warning - require(/home/mautic/public_html/app/cache/prod/doctrine/orm/Proxies/__CG__MauticLeadBundleEntityLead.php): failed to open stream: No such file or directory - in file /home/mautic/public_html/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 209 {“className”:“Mautic\LeadBundle\Entity\Lead”,“classMetadata”:"[object] (Doctrine\ORM\Mapping\ClassMetadata: Doctrine\ORM\Mapping\ClassMetadataInfo@0000000043b5da290000000016b0d722)",“proxyClassName”:“Proxies\CG\Mautic\LeadBundle\Entity\Lead”,“fileName”:"/home/mautic/public_html/app/cache/prod/doctrine/orm/Proxies/__CG__MauticLeadBundleEntityLead.php"}
[2020-02-05 00:04:34] mautic.ERROR: PHP Notice: require(): Failed opening required ‘/home/mautic/public_html/app/cache/prod/doctrine/orm/Proxies/__CG__MauticLeadBundleEntityLead.php’ (include_path=’.:/usr/share/php’) - in file /home/mautic/public_html/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 209
[2020-02-05 00:04:34] mautic.ERROR: Symfony\Component\Debug\Exception\FatalErrorException: Notice: require(): Failed opening required ‘/home/mautic/public_html/app/cache/prod/doctrine/orm/Proxies/__CG__MauticLeadBundleEntityLead.php’ (include_path=’.:/usr/share/php’) - in file /home/mautic/public_html/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 209
[2020-02-05 00:04:34] mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalErrorException: “Compile Error: require(): Failed opening required ‘/home/mautic/public_html/app/cache/prod/doctrine/orm/Proxies/__CG__MauticLeadBundleEntityLead.php’ (include_path=’.:/usr/share/php’)” at /home/mautic/public_html/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php line 209 {“exception”:"[object] (Symfony\Component\Debug\Exception\FatalErrorException(code: 0): Compile Error: require(): Failed opening required ‘/home/mautic/public_html/app/cache/prod/doctrine/orm/Proxies/__CG__MauticLeadBundleEntityLead.php’ (include_path=’.:/usr/share/php’) at /home/mautic/public_html/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php:209)"}
[2020-02-05 00:04:34] mautic.WARNING: PHP Warning - require(/home/mautic/public_html/app/cache/prod/doctrine/orm/Proxies/__CG__MauticLeadBundleEntityLead.php): failed to open stream: No such file or directory - in file /home/mautic/public_html/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 209 {“className”:“Mautic\LeadBundle\Entity\Lead”,“classMetadata”:"[object] (Doctrine\ORM\Mapping\ClassMetadata: Doctrine\ORM\Mapping\ClassMetadataInfo@0000000049a578b0000000006123ecc9)",“proxyClassName”:“Proxies\CG\Mautic\LeadBundle\Entity\Lead”,“fileName”:"/home/mautic/public_html/app/cache/prod/doctrine/orm/Proxies/__CG__MauticLeadBundleEntityLead.php"}
[2020-02-05 00:04:34] mautic.ERROR: PHP Notice: require(): Failed opening required ‘/home/mautic/public_html/app/cache/prod/doctrine/orm/Proxies/__CG__MauticLeadBundleEntityLead.php’ (include_path=’.:/usr/share/php’) - in file /home/mautic/public_html/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 209
[2020-02-05 00:04:34] mautic.ERROR: Symfony\Component\Debug\Exception\FatalErrorException: Notice: require(): Failed opening required ‘/home/mautic/public_html/app/cache/prod/doctrine/orm/Proxies/__CG__MauticLeadBundleEntityLead.php’ (include_path=’.:/usr/share/php’) - in file /home/mautic/public_html/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 209
[2020-02-05 00:04:34] mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalErrorException: “Compile Error: require(): Failed opening required ‘/home/mautic/public_html/app/cache/prod/doctrine/orm/Proxies/__CG__MauticLeadBundleEntityLead.php’ (include_path=’.:/usr/share/php’)” at /home/mautic/public_html/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php line 209 {“exception”:"[object] (Symfony\Component\Debug\Exception\FatalErrorException(code: 0): Compile Error: require(): Failed opening required ‘/home/mautic/public_html/app/cache/prod/doctrine/orm/Proxies/__CG__MauticLeadBundleEntityLead.php’ (include_path=’.:/usr/share/php’) at /home/mautic/public_html/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php:209)"}
Steps I have tried to fix the problem: Wet my pants and ask you fine people.