Customer with empty "Date of Birth" cannot be saved even when it is not marked (or checked on the JS side) as mandatory.
I didn't know how to re-open issue #11989 so I'm creating a new one. Now, I'm installing the latest Magento version (2.2.1), which has the same problem. The PHP version might be important (as pointed out by @Blatant at https://github.com/magento/magento2/issues/11989#issuecomment-342798206), it's 7.1.11, although I got the error with 7.1.7, too, previously.
I've also prepared an automated way of setting up the environment and installing Magento by Docker: https://github.com/JanisE/magento_test_1 Use it, please, if you cannot reproduce the bug in your test environments.
main.CRITICAL: Exception message: Warning: A non-numeric value encountered in/var/www/html/magento/vendor/magento/zendframework1/library/Zend/Locale/Math/PhpMath.php on line 94The issue has been fixed in 2.2-develop branch
When updating Magento via composer to version 2.2.3, it installs magento/framework (101.0.3) which does NOT contain the fix for this issue. Have tried completely removing all composer installed components and reinstalling, same result.
If I download the latest tarball from https://magento.com/tech-resources/download the above fixes are not present.
Has this change not been merged into a release?
Hi @JanisE. Thank you for your report.
The issue has been fixed in magento/magento2#14666 by @rostyslav-hymon in 2.3-develop branch
Related commit(s):
The fix will be available with the upcoming 2.3.0 release.
I am also facing the same issue on version - 2.2.3. On php-7.0.30 its working fine and on php-7.1.20 its giving same issue - "Warning: A non-numeric value encountered in /home/www-data/staging.risch-shoes.com/vendor/magento/zendframework1/library/Zend/Locale/Math/PhpMath.php on line 94"
Most helpful comment
The issue has been fixed in 2.2-develop branch