Issue with device edit page after last update


Today I’ve updated LibreNMS as i do it manually, not with the cron and when i go to the device’s edit page i get an error. In the librenms.log there’s an error ( i’t can be seen here: Log ). Can anyone give me any clues what that might be? Everything seems ok in the validate page. Here’s the output:

[email protected]:/opt/librenms# php validate.php

Component Version
LibreNMS 1.41-47-g60a1a02
DB Schema 255
PHP 7.0.30-0ubuntu0.16.04.1
MySQL 10.0.34-MariaDB-0ubuntu0.16.04.1
RRDTool 1.5.5


[OK] Composer Version: 1.6.5
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct

Try running ./scripts/composer_wrapper.php install --no-dev

I’ve tried, but no changes. Here’s the output from the command:

php ./composer_wrapper.php install --no-dev
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating autoload files
> LibreNMS\ComposerHelper::postInstall
> Illuminate\Foundation\ComposerScripts::postInstall
> php artisan optimize
Generating optimized class loader
The compiled services file has been removed.

The log from the error seems the same: log

Code looks broke (can’t add an array and a integer).

Before this would silently fail.

What do you think, should i make an issue for this on Github or ?

Nope, just wait.

This is a totally harmless error, but fixed here:

Thanks, for the fix. It’s all okay now!