Error
MediaWiki version: 1.36.0-wmf.34
Argument 1 passed to DataValues\Geo\Values\LatLongValue::__construct() must be of the type float, string given, called in /srv/mediawiki/php-1.36.0-wmf.34/vendor/data-values/geo/src/Values/GlobeCoordinateValue.php on line 223
Impact
Unknown.
Presumably if a value can't be passed the user should receive feedback to that effect.
Notes
6 of these in the last ~4 hours.
Acceptance Criteria
- Check whether this error got introduced recently with stricter type checking. It may have allowed string values ("1.234" instead of 1.234) before. It may be ok to allow both.
- If this is caused by completely invalid input, handle the exception and send an error in the response.