- Issue created by @douggreen
- Status changed to Needs review
about 1 year ago 1:27pm 13 November 2023 - last update
about 1 year ago 38 pass - Status changed to Postponed: needs info
about 1 year ago 6:17am 2 December 2023 - π©πͺGermany christianadamski Berlin, Germany
But a location cannot exist of only lat or lng. This does not really make sense?
I guess the solution is rather to check for correctly set array entries?
- π©πͺGermany christianadamski Berlin, Germany
Also, how to reproduce this? When I test this in a simple content type and set only either lat or lng, I trigger no error
- Status changed to Closed: works as designed
11 months ago 8:28am 4 February 2024 - πΊπΈUnited States douggreen Winchester, VA
This is easy to test. Create a URL that sends the lat and not lng or vice-versa. I normally agree that we shouldn't hide PHP warnings, except when they can be triggered by a user sending bad data. It's a simple fix, and I disagree that this is how it is intended to work. We should fail, but not fail with PHP warnings.