Bill historic monthly get error 500

graph.php?id=3&type=bill_historicmonthly&width=1190&height=250

Today, bill historic monthly gets error 500. Why?

My 2 servers have the same issue.

"Exception: Undefined array key "font"" // app/Providers/ErrorReportingProvider.php:63
"/opt/librenms/LibreNMS/Data/Graphing/GraphParameters.php:87" // app/Providers/ErrorReportingProvider.php:63
"Exception: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated" // app/Providers/ErrorReportingProvider.php:63
"/opt/librenms/LibreNMS/Util/Clean.php:54" // app/Providers/ErrorReportingProvider.php:63
"Exception: Undefined variable $graph_data" // app/Providers/ErrorReportingProvider.php:63
"/opt/librenms/includes/html/graphs/bill/historicmonthly.inc.php:13" // app/Providers/ErrorReportingProvider.php:63
"Exception: Trying to access array offset on value of type null" // app/Providers/ErrorReportingProvider.php:63
"/opt/librenms/includes/html/graphs/bill/historicmonthly.inc.php:13" // app/Providers/ErrorReportingProvider.php:63
{ "message": "Server Error: Set APP_DEBUG=true to see details." }
===========================================
Component | Version
--------- | -------
LibreNMS  | 23.4.1-28-ge815bbb81 (2023-04-21T19:14:33-07:00)
DB Schema | 2023_04_12_174529_modify_ports_table (250)
PHP       | 8.1.2-1ubuntu2.11
Python    | 3.10.6
Database  | MariaDB 10.6.12-MariaDB-0ubuntu0.22.04.1
RRDTool   | 1.7.2
SNMP      | 5.9.1
===========================================

[OK]    Composer Version: 2.5.5
[OK]    Dependencies up-to-date.
[OK]    Database connection successful
[OK]    Database Schema is current
[OK]    SQL Server meets minimum requirements
[OK]    lower_case_table_names is enabled
[OK]    MySQL engine is optimal
[OK]    Database and column collations are correct
[OK]    Database schema correct
[OK]    MySQl and PHP time match
"Exception: stream_socket_client(): Unable to connect to tcp://127.0.0.1:6379 (Connection refused)" // app/Providers/ErrorReportingProvider.php:63
"/opt/librenms/vendor/predis/predis/src/Connection/StreamConnection.php:108" // app/Providers/ErrorReportingProvider.php:63
[OK]    Active pollers found
[OK]    Dispatcher Service not detected
[OK]    Locks are functional
[OK]    Python poller wrapper is polling
[OK]    Redis is unavailable
[OK]    rrdtool version ok
[OK]    Connected to rrdcached
"Exception: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated" // app/Providers/ErrorReportingProvider.php:63
"/opt/librenms/LibreNMS/Validations/User.php:95" // app/Providers/ErrorReportingProvider.php:63

For now

===========================================
Component | Version
--------- | -------
LibreNMS  | 23.4.1-29-g265906b44 (2023-04-22T08:37:20-07:00)
DB Schema | 2023_04_12_174529_modify_ports_table (250)
PHP       | 8.1.2-1ubuntu2.11
Python    | 3.10.6
Database  | MariaDB 10.6.12-MariaDB-0ubuntu0.22.04.1
RRDTool   | 1.7.2
SNMP      | 5.9.1
===========================================

Fixed by Fix billing error introduced by #14979 by murrant · Pull Request #14996 · librenms/librenms · GitHub