-
-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
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
[PHP 8.1] "Passing null to parameter #1 ($datetime) of type string is deprecated" errors while searching in logbook #1848
Comments
Can you please show the QSO details for that specific QSO? I am looking for values of COL_LOTW_QSL_SENT and COL_LOTW_QSLSDATE. |
My mistake, the fields mentioned in the report are not that relevant, the fields below are obviously for the up arrow. COL_LOTW_QSL_SENT = 'Y' |
Yes they are. But why is the COL_LOTW_QSLSDATE NULL?! |
I mean I could fix the code to not run into an error here. But it seems that your LotW uploads do not set the upload date here. Maybe an issue of PHP 8.1. |
I don't know, I see the mentioned error on multiple QSOs. Maybe those QSOs where uploaded to LoTW with another tool, I can't recall exactly. |
Ok, let me check how to circumvent this error. |
Fix PRred with #1849. |
Thank you this quick fix. :D |
uw. |
Although this issue is closed, I just saw the same thing when doing an advanced search. This time the problem is in search/search_result_ajax.php line number 322. |
Same error is visible in the QSO list when clicking on the 'Check log Call' or 'Check log Date/Time' button on the OQRS Requests list. Filename: oqrs/qsolist.php Line Number: 143 |
@pa8s You're finding all the PHP8.1 issues :) Will look into them. |
I can't imagine I'm the only Cloudlog user with PHP8.1 ;) |
Indeed you are not. I am running PHP Version 8.1.11
and have non of your problems here...
curious.
73 de Kim
DG9VH
|
Tnx report. |
Fixed in dev. |
Describe the bug
When I search for log entries I often get this PHP error where the 'Uploaded to LoTW' arrow is seen:
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
No error and green up arrow.
Looking into QSO data, the COL_LOTW_QSLRDATE has a valid date and COL_LOTW_QSL_RCVD is 'Y'.
Screenshots
Server
OS: FreeBSD 13.1
Server: nginx/1.22.1
PHP: 8.1.13
Git branch: dev
Git commit: 04e9960
Git Tag: 2.1-94-g04e99607
The text was updated successfully, but these errors were encountered: