Error when saving email
Author: chergettCreated Sep 24, 2026Updated Sep 24, 2026
Labelsbugneeds-triage
Mautic Series
7.2.x series
Mautic installed version
7.2.1
Way of installing
I downloaded a release from https://www.mautic.org/mautic-releases
PHP version
8.3.6
What browsers are you seeing the problem on?
Microsoft Edge
What happened?
Attempting to save an email results in a 500 error. The below error is found in the php log.
[2026-09-24T17:31:29.414069+00:00] app.CRITICAL: Uncaught PHP Exception Error: "Class "Symfony\Component\DomCrawler\Crawler" not found" at /var/www/html/app/bundles/EmailBundle/Validator/ValidEmailLinksValidator.php line 49 {"exception":"[object] (Error(code: 0): Class "Symfony\Component\DomCrawler\Crawler" not found at /var/www/html/app/bundles/EmailBundle/Validator/ValidEmailLinksValidator.php:49)"} {"hostname":"mj0htr7c-mautic","pid":14104}
How can we reproduce this issue?
Step 1: On 7.2.1 attempt to create a new email and save it.
Relevant log output
[2026-09-24T17:31:29.414069+00:00] app.CRITICAL: Uncaught PHP Exception Error: "Class "Symfony\Component\DomCrawler\Crawler" not found" at /var/www/html/app/bundles/EmailBundle/Validator/ValidEmailLinksValidator.php line 49 {"exception":"[object] (Error(code: 0): Class \"Symfony\\Component\\DomCrawler\\Crawler\" not found at /var/www/html/app/bundles/EmailBundle/Validator/ValidEmailLinksValidator.php:49)"} {"hostname":"mj0htr7c-mautic","pid":14104}Code of Conduct
- I confirm that I have read and agree to follow this project's Code of Conduct
Care about this issue? Want to get it resolved sooner? If you are a member of Mautic, you can add some funds to the Bounties Project so that the person who completes this task can claim those funds once it is merged by a member of the core team! Read the docs here.
Source: mautic/mautic