Hi,
With PHP 8.1, I'm seeing the following warning on some pages:
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/boincadm/projects/nfs/html/inc/boinc_db.inc on line 147
Casting the variable to type string is a quick and easy fix:
trim((string) $string)
Likewise in server_status.php, for apps with no results, I'm seeing
Deprecated: round(): Passing null to parameter #1 ($num) of type int|float is deprecated in /home/boincadm/projects/nfs/html/user/server_status.php on line 179
Deprecated: round(): Passing null to parameter #1 ($num) of type int|float is deprecated in /home/boincadm/projects/nfs/html/user/server_status.php on line 180
Deprecated: round(): Passing null to parameter #1 ($num) of type int|float is deprecated in /home/boincadm/projects/nfs/html/user/server_status.php on line 181
Likewise, casting to float is a quick fix:
round((float) $app->info->avg, 2)
Thanks,
Greg