mautic-recaptcha
mautic-recaptcha copied to clipboard
mautic.CRITICAL: Uncaught PHP Exception
Mautic V4
mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Form\Exception\TransformationFailedException: "Unable to transform value for property path "[minScore]": Expected a numeric." at /home/admin/web/test/public_html/vendor/symfony/form/Form.php line 1110 {"exception":"[object] (Symfony\Component\Form\Exception\TransformationFailedException(code: 0): Unable to transform value for property path "[minScore]": Expected a numeric. at /home/admin/web/test/public_html/vendor/symfony/form/Form.php:1110, Symfony\Component\Form\Exception\TransformationFailedException(code: 0): Expected a numeric. at /home/admin/web/test/public_html/vendor/symfony/form/Extension/Core/DataTransformer/NumberToLocalizedStringTransformer.php:115)"}
Hi, what value did you enter for the minScore?
Hi,
I met with the same mistake. This is due to the setting of the language version of Mautic or the operating system environment. The default value in reCaptcha 0.8 is displayed as 0,8: comma instead of dot. Just give a value with a dot e.g. 0.5 and everything is correct, without error.
Regards
it can be good to check value before updating value, and transform it if needed.