[CRITICAL] Exception in librenms.log

Good morning, I’ve been reading the librenms logs for a few days now, trying to understand the nature of these graph gaps. So I found these messages in the librenms.log.
The function expects the second argument, $details, to be an array, but instead receives a null value. This causes a critical exception that’s reflected in the log.

[2026-05-11T08:50:27][CRITICAL] Exception: Error Class "Illuminate\Console\Events\CommandFinished" not found @ /opt/librenms/vendor/laravel/framework/src/Illuminate/Found
ation/Console/Kernel.php:172
#0 /opt/librenms/vendor/symfony/event-dispatcher/EventDispatcher.php(206): Illuminate\Foundation\Console\Kernel->Illuminate\Foundation\Console\{closure}()
#1 /opt/librenms/vendor/symfony/event-dispatcher/EventDispatcher.php(56): Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
#2 /opt/librenms/vendor/symfony/console/Application.php(1136): Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
#3 /opt/librenms/vendor/symfony/console/Application.php(356): Symfony\Component\Console\Application->doRunCommand()
#4 /opt/librenms/vendor/symfony/console/Application.php(195): Symfony\Component\Console\Application->doRun()
#5 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(198): Symfony\Component\Console\Application->run()
#6 /opt/librenms/lnms(35): Illuminate\Foundation\Console\Kernel->handle()
#7 {main}
[2026-05-11T08:50:27][ALERT] INFO: device:poll 10.74.2.39 (178) polled in 11.475s
[2026-05-11T08:50:27][CRITICAL] Exception: Error Class "Illuminate\Console\Events\CommandFinished" not found @ /opt/librenms/vendor/laravel/framework/src/Illuminate/Found
ation/Console/Kernel.php:172
#0 /opt/librenms/vendor/symfony/event-dispatcher/EventDispatcher.php(206): Illuminate\Foundation\Console\Kernel->Illuminate\Foundation\Console\{closure}()
#1 /opt/librenms/vendor/symfony/event-dispatcher/EventDispatcher.php(56): Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
#2 /opt/librenms/vendor/symfony/console/Application.php(1136): Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
#3 /opt/librenms/vendor/symfony/console/Application.php(356): Symfony\Component\Console\Application->doRunCommand()
#4 /opt/librenms/vendor/symfony/console/Application.php(195): Symfony\Component\Console\Application->doRun()
#5 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(198): Symfony\Component\Console\Application->run()
#6 /opt/librenms/lnms(35): Illuminate\Foundation\Console\Kernel->handle()
#7 {main}
[2026-05-11T08:50:27][ALERT] INFO: device:poll 172.25.154.5 (342) polled in 10.655s
[2026-05-11T08:50:27][CRITICAL] Exception: Error Class "Illuminate\Foundation\Events\Terminating" not found @ /opt/librenms/vendor/laravel/framework/src/Illuminate/Founda
tion/Console/Kernel.php:217
#0 /opt/librenms/lnms(51): Illuminate\Foundation\Console\Kernel->terminate()
#1 {main}
[2026-05-11T08:50:27][CRITICAL] Exception: Error Class "Illuminate\Console\Events\CommandFinished" not found @ /opt/librenms/vendor/laravel/framework/src/Illuminate/Found
ation/Console/Kernel.php:172
#0 /opt/librenms/vendor/symfony/event-dispatcher/EventDispatcher.php(206): Illuminate\Foundation\Console\Kernel->Illuminate\Foundation\Console\{closure}()
#1 /opt/librenms/vendor/symfony/event-dispatcher/EventDispatcher.php(56): Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
#2 /opt/librenms/vendor/symfony/console/Application.php(1136): Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
#3 /opt/librenms/vendor/symfony/console/Application.php(356): Symfony\Component\Console\Application->doRunCommand()
#4 /opt/librenms/vendor/symfony/console/Application.php(195): Symfony\Component\Console\Application->doRun()
#5 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(198): Symfony\Component\Console\Application->run()
#6 /opt/librenms/lnms(35): Illuminate\Foundation\Console\Kernel->handle()
#7 {main}
[2026-05-11T08:50:27][CRITICAL] Exception: Error Class "Illuminate\Foundation\Events\Terminating" not found @ /opt/librenms/vendor/laravel/framework/src/Illuminate/Founda
tion/Console/Kernel.php:217
#0 /opt/librenms/lnms(51): Illuminate\Foundation\Console\Kernel->terminate()
#1 {main}
[2026-05-11T08:50:28][ALERT] INFO: device:poll 10.74.2.10 (169) polled in 22.104s


[2026-05-11T09:16:12][CRITICAL] Exception: TypeError LibreNMS\Alert\AlertUtil::mergeProblemPhaseTimingFromOperations(): Argument #2 ($details) must be of type array, null
 given, called in /opt/librenms/LibreNMS/Alert/RunAlerts.php on line 520 @ /opt/librenms/LibreNMS/Alert/AlertUtil.php:89
#0 /opt/librenms/LibreNMS/Alert/RunAlerts.php(520): LibreNMS\Alert\AlertUtil::mergeProblemPhaseTimingFromOperations()
#1 /opt/librenms/alerts.php(61): LibreNMS\Alert\RunAlerts->runAlerts()
#2 {main}
[2026-05-11T09:16:12][ALERT] INFO: device:poll 172.17.141.253 (509) polled in 6.579s


[2026-05-11T10:06:10][ALERT] INFO: device:poll 10.125.234.241 (499) polled in 10.214s
[2026-05-11T10:06:11][CRITICAL] Exception: TypeError LibreNMS\Alert\AlertUtil::mergeProblemPhaseTimingFromOperations(): Argument #2 ($details) must be of type array, null
 given, called in /opt/librenms/LibreNMS/Alert/RunAlerts.php on line 520 @ /opt/librenms/LibreNMS/Alert/AlertUtil.php:89
#0 /opt/librenms/LibreNMS/Alert/RunAlerts.php(520): LibreNMS\Alert\AlertUtil::mergeProblemPhaseTimingFromOperations()
#1 /opt/librenms/alerts.php(61): LibreNMS\Alert\RunAlerts->runAlerts()
#2 {main}
[2026-05-11T10:06:11][ALERT] INFO: device:poll 10.125.234.219 (535) polled in 8.268s


[2026-05-11T11:11:06][ALERT] INFO: device:poll 10.74.2.204 (253) polled in 6.853s
[2026-05-11T11:11:07][CRITICAL] Exception: TypeError LibreNMS\Alert\AlertUtil::mergeProblemPhaseTimingFromOperations(): Argument #2 ($details) must be of type array, null
 given, called in /opt/librenms/LibreNMS/Alert/RunAlerts.php on line 520 @ /opt/librenms/LibreNMS/Alert/AlertUtil.php:89
#0 /opt/librenms/LibreNMS/Alert/RunAlerts.php(520): LibreNMS\Alert\AlertUtil::mergeProblemPhaseTimingFromOperations()
#1 /opt/librenms/alerts.php(61): LibreNMS\Alert\RunAlerts->runAlerts()
#2 {main}
[2026-05-11T11:11:08][ALERT] INFO: device:poll 10.74.2.22 (148) polled in 7.090s

I’ve tried disabling all the modules that were causing long runtime issues (sensors, bgp-peers), but the problem persists. What else can I do to try to resolve the issue?

Thanks in advance!

Welcome to Ubuntu 24.04.4 LTS (GNU/Linux 6.8.0-111-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro

 System information as of Tue May 12 05:19:25 AM CEST 2026

  System load:  2.2                 Processes:               333
  Usage of /:   39.4% of 600.00GB   Users logged in:         0
  Memory usage: 13%                 IPv4 address for ens160: 172.25.200.125
  Swap usage:   0%

 * Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s
   just raised the bar for easy, resilient and secure K8s cluster deployment.

   https://ubuntu.com/engage/secure-kubernetes-at-the-edge

Expanded Security Maintenance for Applications is not enabled.

0 updates can be applied immediately.

11 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm


Last login: Mon May 11 08:50:08 2026 from 10.60.162.22
librenms@devlibre:~$ ./daily.sh
Clearing caches                                    OK
Updating to latest codebase                        OK
Updating Composer packages                         OK
Updated from 3f5827b9e to 625a6cdaa                OK
Updating SQL-Schema                                OK
Cleaning up DB                                     OK
Caching PeeringDB data                             OK
librenms@devlibre:~$ ./validate.php
===========================================
Component | Version
--------- | -------
LibreNMS  | 26.5.1-dev.70+625a6cdaa (2026-05-12T04:38:00+02:00)
DB Schema | 2026_04_25_154814_move_operation_mute_to_operations_table (384)
PHP       | 8.3.6
Python    | 3.12.3
Database  | MariaDB 10.11.14-MariaDB-0ubuntu0.24.04.1
RRDTool   | 1.7.2
SNMP      | 5.9.4.pre2
===========================================

[OK]    Composer Version: 2.9.7
[OK]    Dependencies up-to-date.
[OK]    Database Connected
[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 not detected
[OK]    Locks are functional
[OK]    Python poller wrapper is polling
[OK]    Redis is unavailable
[OK]    rrdtool version ok
[OK]    Connected to rrdcached