Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mautic.CRITICAL: Uncaught PHP Exception #31

Open
rebelia opened this issue Nov 29, 2021 · 3 comments
Open

mautic.CRITICAL: Uncaught PHP Exception #31

rebelia opened this issue Nov 29, 2021 · 3 comments

Comments

@rebelia
Copy link

rebelia commented Nov 29, 2021

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)"}

@KonstantinCodes
Copy link
Owner

Hi, what value did you enter for the minScore?

@Rohaty
Copy link

Rohaty commented Mar 11, 2022

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.

image

Regards

@remyPulse
Copy link

it can be good to check value before updating value, and transform it if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants