Mautic Community Forums

Can anyone help me identify this critical error

Your software
My Mautic version is: 3.3.3
My PHP version is: 7.4.16
My Database type and version is: MySQL

Your problem
My problem is what I see in system info log:

[2021-06-08 10:18:24] mautic.WARNING: PHP Warning - require(/home/dapeldxsmx/domains/mautic.leasing.sos.pl/public_html/var/cache/prod/ContainerSoctq8x/getSwiftmailer_EmailSender_ListenerService.php): failed to open stream: No such file or directory - in file /home/dapeldxsmx/domains/mautic.leasing.sos.pl/public_html/var/cache/prod/ContainerSoctq8x/appProdProjectContainer.php - at line 6121 {“file”:“getSwiftmailer_EmailSender_ListenerService.php”,“lazyLoad”:true}
[2021-06-08 10:18:24] mautic.WARNING: PHP Warning - require(/home/dapeldxsmx/domains/mautic.leasing.sos.pl/public_html/var/cache/prod/ContainerSoctq8x/getSwiftmailer_EmailSender_ListenerService.php): failed to open stream: No such file or directory - in file /home/dapeldxsmx/domains/mautic.leasing.sos.pl/public_html/var/cache/prod/ContainerSoctq8x/appProdProjectContainer.php - at line 6121 {“file”:“getSwiftmailer_EmailSender_ListenerService.php”,“lazyLoad”:true}
[2021-06-08 10:18:24] mautic.ERROR: PHP Notice: require(): Failed opening required ‘/home/dapeldxsmx/domains/mautic.leasing.sos.pl/public_html/var/cache/prod/ContainerSoctq8x/getSwiftmailer_EmailSender_ListenerService.php’ (include_path=’.:/opt/alt/php74/usr/share/pear’) - in file /home/dapeldxsmx/domains/mautic.leasing.sos.pl/public_html/var/cache/prod/ContainerSoctq8x/appProdProjectContainer.php - at line 6121
[2021-06-08 10:18:24] mautic.ERROR: Symfony\Component\Debug\Exception\FatalErrorException: Notice: require(): Failed opening required ‘/home/dapeldxsmx/domains/mautic.leasing.sos.pl/public_html/var/cache/prod/ContainerSoctq8x/getSwiftmailer_EmailSender_ListenerService.php’ (include_path=’.:/opt/alt/php74/usr/share/pear’) - in file /home/dapeldxsmx/domains/mautic.leasing.sos.pl/public_html/var/cache/prod/ContainerSoctq8x/appProdProjectContainer.php - at line 6121
[2021-06-08 10:18:24] mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalErrorException: “Compile Error: require(): Failed opening required ‘/home/dapeldxsmx/domains/mautic.leasing.sos.pl/public_html/var/cache/prod/ContainerSoctq8x/getSwiftmailer_EmailSender_ListenerService.php’ (include_path=’.:/opt/alt/php74/usr/share/pear’)” at /home/dapeldxsmx/domains/mautic.leasing.sos.pl/public_html/var/cache/prod/ContainerSoctq8x/appProdProjectContainer.php line 6121 {“exception”:"[object] (Symfony\Component\Debug\Exception\FatalErrorException(code: 0): Compile Error: require(): Failed opening required ‘/home/dapeldxsmx/domains/mautic.leasing.sos.pl/public_html/var/cache/prod/ContainerSoctq8x/getSwiftmailer_EmailSender_ListenerService.php’ (include_path=’.:/opt/alt/php74/usr/share/pear’) at /home/dapeldxsmx/domains/mautic.leasing.sos.pl/public_html/var/cache/prod/ContainerSoctq8x/appProdProjectContainer.php:6121)"}

Hope for any clue how to solve it…

Regards,

Gregy

clear your cache or delete the contents of var/cache/prod folder. then check file permissions

Hi Gregy

I think yu got a problem with your mailserver credentials. Maybe the port is wrong or the hostname. I think it could not open the socket / connection.

You may want to take a look in the /config Folder in Mautic and edit the configuration and then clear the cache again.

Greetings
Sebastian