Your software
My Mautic version is: 7.2.1
My PHP version is: 8.4.27
My Database type and version is: Maria dB 11.4
Your problem
My problem is: When creating a new email and then hitting “Save,” it goes to a “500 Internal Server Error” page.
This was working. The only change that I can think of is the update to PHP 8.4.27 and my host disabled session.upload_progress.enabled for all servers.
These errors are showing in the log:
[2026-10-26T01:33:59.191146+00:00] app.CRITICAL: Uncaught PHP Exception TypeError: “Mautic\FormBundle\Controller\PublicController::previewAction(): Argument #5 ($id) must be of type int, string given, called in /[my site]/mautic/docroot/vendor/symfony/http-kernel/HttpKernel.php on line 183” at /[my site]/mautic/docroot/app/bundles/FormBundle/Controller/PublicController.php line 522 {“exception”:“[object] (TypeError(code: 0): Mautic\FormBundle\Controller\PublicController::previewAction(): Argument #5 ($id) must be of type int, string given, called in /[my site]/mautic/docroot/vendor/symfony/http-kernel/HttpKernel.php on line 183 at /[my site]/mautic/docroot/app/bundles/FormBundle/Controller/PublicController.php:522)”} {“hostname”:“vps.myserver.com”,“pid”:484497}
[2026-10-26T19:02:03.534634+00:00] app.CRITICAL: Uncaught PHP Exception Error: “Class “Symfony\Component\DomCrawler\Crawler” not found” at /[my site]/mautic/docroot/app/bundles/EmailBundle/Validator/ValidEmailLinksValidator.php line 49 {“exception”:“[object] (Error(code: 0): Class “Symfony\Component\DomCrawler\Crawler” not found at /[my site]/mautic/docroot/app/bundles/EmailBundle/Validator/ValidEmailLinksValidator.php:49)”} {“hostname”:“vps.myserver.com”,“pid”:547734}
Steps I have tried to fix the problem:
Cleared cache