Closed ofadam closed 12 months ago
Fixed with https://github.com/magicbug/Cloudlog/pull/2745.
@ofadam
Please check and close if the issue is gone. Fix is in 'dev' branch 😁
Hmm.. I'm now getting a long list of "Error: Callsign not found" errors when trying to update grids.
Hmm.. I'm now getting a long list of "Error: Callsign not found" errors when trying to update grids.
Yepp. Thats the case where the callsign does not have an entry in the callbook you are querying (qrz or hamqth).
Was that failing silently before recently? I don't remember seeing that error before. No biggie if just a visual change.
The error has not been handled before. The code assumed that the answer always contained a grid which obviously is not the case. Now we are passing the error from the upstream callbook (e.g. qrz) to the user.
@ofadam Can you confirm it is fixed? If so please close the issue. Tnx =)
Confirmed as fixed.
Describe the bug When trying to update QSOs that are missing the gridsquare, I'm getting a PHP error.
To Reproduce Steps to reproduce the behaviour:
Error Message
A PHP Error was encountered
Severity: Warning
Message: Undefined array key "gridsquare"
Filename: models/Logbook_model.php
Line Number: 4061
Server info