Your software
My Mautic version after update is: 2.16.0
My Previous Mautic version : 2.15.3
My PHP version is: 7.2.24-0ubuntu0.18.04.3
Your problem
My problem is:
We have a server side app which uses Mautic API to send emails. It stopped working after updating Mautic.
Gives error 500 on “emails/{0}/contact/{1}/send” method call
These errors are showing in the log:
mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\ClassNotFoundException: “Attempted to load class “IntlExtension” from namespace “Twig\Extensions”. Did you forget a “use” statement for another namespace?” at /data/www/dev.ease-software.nl/mautic/plugins/MauticAdvancedTemplatesBundle/Helper/TemplateProcessor.php line 65 {“exception”:"[object] (Symfony\Component\Debug\Exception\ClassNotFoundException(code: 0): Attempted to load class “IntlExtension” from namespace “Twig\Extensions”.\nDid you forget a “use” statement for another namespace? at /data/www/dev.ease-software.nl/mautic/plugins/MauticAdvancedTemplatesBundle/Helper/TemplateProcessor.php:65)"}
Steps I have tried to fix the problem:
Clearing cache folder
Updating DB schema