PHP Deprecated:Implicitly marking parameter $dispatcher as nullable is deprecated,

===========================================

Component Version
LibreNMS 24.12.0-10-g2389ef89a (2024-12-20T18:25:16+01:00)
DB Schema 2024_10_20_154356_create_qos_table (310)
PHP 8.4.2
Python 3.11.2
Database MariaDB 10.11.10-MariaDB
RRDTool 1.7.2
SNMP 5.9.3
===========================================

[OK] Composer Version: 2.8.4
[OK] Dependencies up-to-date.
[OK] Database connection successful
[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
[OK] Active pollers found
[OK] Dispatcher Service is enabled
[OK] Locks are functional
[OK] No active python wrapper pollers found
[WARN] Using database for locking, you should set CACHE_DRIVER=redis
[OK] rrdtool version ok
[OK] Connected to rrdcached

Hi,
just wonder if someone is having an idea how to solve this?

sudo -u librenms /opt/librenms/validate.php
PHP Deprecated: Illuminate\Log\Logger::__construct(): Implicitly marking parameter $dispatcher as nullable is deprecated, the explicit nullable type must be used instead in /opt/librenms/vendor/laravel/framework/src/Illuminate/Log/Logger.php on line 46
PHP Deprecated: Carbon\CarbonTimeZone::toOffsetName(): Implicitly marking parameter $date as nullable is deprecated, the explicit nullable type must be used instead in /opt/librenms/vendor/nesbot/carbon/src/Carbon/CarbonTimeZone.php on line 158
PHP Deprecated: Carbon\CarbonTimeZone::toOffsetTimeZone(): Implicitly marking parameter $date as nullable is deprecated, the explicit nullable type must be used instead in /opt/librenms/vendor/nesbot/carbon/src/Carbon/CarbonTimeZone.php on line 172
PHP Deprecated: Carbon\CarbonTimeZone::toRegionName(): Implicitly marking parameter $date as nullable is deprecated, the explicit nullable type must be used instead in /opt/librenms/vendor/nesbot/carbon/src/Carbon/CarbonTimeZone.php on line 188
PHP Deprecated: Carbon\CarbonTimeZone::toRegionTimeZone(): Implicitly marking parameter $date as nullable is deprecated, the explicit nullable type must be used instead in /opt/librenms/vendor/nesbot/carbon/src/Carbon/CarbonTimeZone.php on line 230

Composer version 2.8.4 2024-12-11 11:57:47
PHP version 8.4.2 (/usr/bin/php8.4)

PHP Deprecated: Illuminate\Log\Logger::__construct(): Implicitly marking parameter $dispatcher as nullable is deprecated, the explicit nullable type must be used instead in /opt/librenms/vendor/laravel/framework/src/Illuminate/Log/Logger.php on line 46
PHP Deprecated: Carbon\CarbonTimeZone::toOffsetName(): Implicitly marking parameter $date as nullable is deprecated, the explicit nullable type must be used instead in /opt/librenms/vendor/nesbot/carbon/src/Carbon/CarbonTimeZone.php on line 158
PHP Deprecated: Carbon\CarbonTimeZone::toOffsetTimeZone(): Implicitly marking parameter $date as nullable is deprecated, the explicit nullable type must be used instead in /opt/librenms/vendor/nesbot/carbon/src/Carbon/CarbonTimeZone.php on line 172
PHP Deprecated: Carbon\CarbonTimeZone::toRegionName(): Implicitly marking parameter $date as nullable is deprecated, the explicit nullable type must be used instead in /opt/librenms/vendor/nesbot/carbon/src/Carbon/CarbonTimeZone.php on line 188
PHP Deprecated: Carbon\CarbonTimeZone::toRegionTimeZone(): Implicitly marking parameter $date as nullable is deprecated, the explicit nullable type must be used instead in /opt/librenms/vendor/nesbot/carbon/src/Carbon/CarbonTimeZone.php on line 230

This is a deprecation-warning that comes with php’s 8.4 update: Implicitly nullable parameter declarations deprecated - PHP 8.4 • PHP.Watch

Either downgrade your php-installation to 8.3 for now, or submit a PR containing the needed code-changes as shown here: Implicitly nullable parameter declarations deprecated - PHP 8.4 • PHP.Watch

HTH!

Submitted an issue for it in Gihub: Add support for PHP 8.4 (deprecation of implicit nulling of types) · Issue #16915 · librenms/librenms · GitHub