Done!
The reason it happens is becouse the oficial docker image is mission the exif php extention.
I have done this docker-php-ext-install exif
inside the container and the issue was solved.
It is a know issue, already reported here:
opened 10:27PM - 21 May 21 UTC
Hello,
Mautic nead EXIF to work whith files field in forms.
Error log:
`m… autic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\UndefinedFunctionException: "Attempted to call function "exif_imagetype" from namespace "Mautic\FormBundle\Helper"." at /var/www/html/app/bundles/FormBundle/Helper/FormUploader.php line 154 {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\UndefinedFunctionException(code: 0): Attempted to call function \"exif_imagetype\" from namespace \"Mautic\\FormBundle\\Helper\". at /var/www/html/app/bundles/FormBundle/Helper/FormUploader.php:154)"} []`
ADD this `docker-php-ext-install` exif docker file
Thanks..!
Thanks a lot!
Best regards!
1 Like