We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi. Thanks for the project!
The issue concerns PHP 7.1 and the "A non well formed numeric value encountered" notice.
It occurs here: offline-country-reverse-geocoder.php:80. $pointY appears to have a ) in the end.
)
Looks like the problem is in the wrong polygon data. It can be checked by looking for 41.871933000000126) in polygons.properties file.
I have solved the problem by trimming $pointX and $pointY. $pointX = trim($pointX, '()'); $pointY = trim($pointY, '()');
$pointX = trim($pointX, '()');
$pointY = trim($pointY, '()');
Thanks
The text was updated successfully, but these errors were encountered:
Fix for php 7.1
562a52b
Tip from: dana-ross#6
No branches or pull requests
Hi. Thanks for the project!
The issue concerns PHP 7.1 and the "A non well formed numeric value encountered" notice.
It occurs here: offline-country-reverse-geocoder.php:80. $pointY appears to have a
)
in the end.Looks like the problem is in the wrong polygon data. It can be checked by looking for 41.871933000000126) in polygons.properties file.
I have solved the problem by trimming $pointX and $pointY.
$pointX = trim($pointX, '()');
$pointY = trim($pointY, '()');
Thanks
The text was updated successfully, but these errors were encountered: