svicer β created an issue.
+1RTBC we applied this to YMCA WS distro successfully
svicer β created an issue. See original summary β .
Patch #2 works fine for me
+
I think this problem cannot be reproduced on simplytest.me because this test tool uses PHP 7.4. But this problem is reproduced on PHP 8.1 and PHP 8.2
Reproduced on clear drupal 10 standart instalation.
Enviroment: php8.1 and php8.2
Drupal 10.0.9
Drush 11.5.1
drupal/geolocation 3.12.0
Steps to reproduce:
- Install standart Drupal profile
- Enable geolocation module
- Add geolocation field to Article
- Try to create new Article and fill Latitude and Longitude with random string
- Click to Save button
- You will see 500 error on page and in logs
The website encountered an unexpected error. Please try again later.
TypeError: deg2rad(): Argument #1 ($num) must be of type float, string given in deg2rad()