Your software
My Mautic version is: 2.16.0
My PHP version is: 7.0.33
Your problem
My problem is:
After Mautic installation using Softaculous I started to work with Mautic. I configured Email settings (using Amazon SES) and I began to create segments. Then I made a break and when I tried to login as admin a couples of minutes later I received the login error page
"Quote
The site is currently offline due to encountering an error. If the problem persists, please contact the system administrator.
System administrators, check server logs for errors.
Uh oh! I think I broke it. If I do it again, please report me to the system administrator!
500 Internal Server Error
Unquote"
These errors are showing in the log:
[2020-03-22 14:30:05] mautic.WARNING: PHP Warning - require(/home/bestback/public_html/mautic/app/cache/prod/doctrine/orm/Proxies/__CG__MauticCategoryBundleEntityCategory.php): failed to open stream: No such file or directory - in file /home/bestback/public_html/mautic/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 209 {âclassNameâ:âMautic\CategoryBundle\Entity\Categoryâ,âclassMetadataâ:â[object] (Doctrine\ORM\Mapping\ClassMetadata: Doctrine\ORM\Mapping\ClassMetadataInfo@000000002f452922000000005b9391a3)â,âproxyClassNameâ:âProxies\CG\Mautic\CategoryBundle\Entity\Categoryâ,âfileNameâ:â/home/bestback/public_html/mautic/app/cache/prod/doctrine/orm/Proxies/__CG__MauticCategoryBundleEntityCategory.phpâ}
[2020-03-22 14:30:05] mautic.WARNING: PHP Warning - require(/home/bestback/public_html/mautic/app/cache/prod/doctrine/orm/Proxies/__CG__MauticCategoryBundleEntityCategory.php): failed to open stream: No such file or directory - in file /home/bestback/public_html/mautic/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 209 {âclassNameâ:âMautic\CategoryBundle\Entity\Categoryâ,âclassMetadataâ:â[object] (Doctrine\ORM\Mapping\ClassMetadata: Doctrine\ORM\Mapping\ClassMetadataInfo@000000002f452922000000005b9391a3)â,âproxyClassNameâ:âProxies\CG\Mautic\CategoryBundle\Entity\Categoryâ,âfileNameâ:â/home/bestback/public_html/mautic/app/cache/prod/doctrine/orm/Proxies/__CG__MauticCategoryBundleEntityCategory.phpâ}
[2020-03-22 14:30:05] mautic.ERROR: PHP Notice: require(): Failed opening required â/home/bestback/public_html/mautic/app/cache/prod/doctrine/orm/Proxies/__CG__MauticCategoryBundleEntityCategory.phpâ (include_path=â.:/opt/cpanel/ea-php70/root/usr/share/pearâ) - in file /home/bestback/public_html/mautic/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 209
[[2020-03-22 14:30:05] mautic.ERROR: Symfony\Component\Debug\Exception\FatalErrorException: Notice: require(): Failed opening required â/home/bestback/public_html/mautic/app/cache/prod/doctrine/orm/Proxies/__CG__MauticCategoryBundleEntityCategory.phpâ (include_path=â.:/opt/cpanel/ea-php70/root/usr/share/pearâ) - in file /home/bestback/public_html/mautic/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 209
[2020-03-22 14:30:05] mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalErrorException: âCompile Error: require(): Failed opening required â/home/bestback/public_html/mautic/app/cache/prod/doctrine/orm/Proxies/__CG__MauticCategoryBundleEntityCategory.phpâ (include_path=â.:/opt/cpanel/ea-php70/root/usr/share/pearâ)â at /home/bestback/public_html/mautic/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/bestback/public_html/mautic/app/cache/prod/doctrine/orm/Proxies/__CG__MauticCategoryBundleEntityCategory.phpâ (include_path=â.:/opt/cpanel/ea-php70/root/usr/share/pearâ) at /home/bestback/public_html/mautic/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php:209)â}
Steps I have tried to fix the problem:
I read several of the support post in this forum about that error. I cleared the app/cache as recommended without any positive result.
The installation is on a shared web hosting account. Unfortunately (regarding this problem), I am not very familiar with PHP commands of how to run these on a shared hosting account.
Do I have to create a new repair.php file and save it in the Mautic directory and run it in order for the included PHP commands to execute???
I believe that Mautic is a really great application and I want to use it. I hope that I can get the help that I need to fix that problem
Thank you so much!