Closed miguelurtado closed 3 years ago
Additional info: This missing php extension makes this issue bellow happen:
https://forum.mautic.org/t/file-form-field-type-does-not-work/19640
I have done this docker-php-ext-install exif
inside the container, and the issue above was solved.
Thanks and best regards.
This issue has been mentioned on Mautic Community Forums. There might be relevant details there:
https://forum.mautic.org/t/file-form-field-type-does-not-work/19640/2
will be available in the image of mautic 4
Hello,
Mautic need EXIF to work with files field in forms.
Error log:
mautic.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 fileThanks..!