Uncaught ArgumentCountError on device overview page #5522

Closed
jquagga opened this Issue Jan 20, 2017 · 0 comments

Projects

None yet

2 participants

@jquagga
Contributor
jquagga commented Jan 20, 2017

DO NOT DELETE THIS INFORMATION.

Please read this information carefully.

GitHub issues is for feature requests or bugs, please do not post issues asking for help or how to do X, Y or Z.
You can use our irc channel ##librenms on freenode to ask questions or our community site.

Please confirm each of the sections below by putting an x in the box like [x].

  • Is your install up to date? Updating your install
    Please do not submit an issue if your install is not up to date within the last 24 hours or on a stable monthly release.
  • Please include all of the information between the ==================================== section of ./validate.php which you can run from the cli.
==========================================================
Component | Version
--------- | -------
LibreNMS  | a9a02a0f80cf165d8338d802cc02a8ed005abe9f
DB Schema | 156
PHP       | 7.1.1
MySQL     | 10.1.20-MariaDB
RRDTool   | 1.6.0
SNMP      | NET-SNMP 5.7.3
==========================================================
  • Unless your issue is for a WebUI fix or feature then please provide ALL info asked for here.
  • Please provide as much detail as possible.
  • Please do NOT post more than 10 lines of debug information here, use a pastebin service or GitHub Gists.

After a recent system update which moved my install base from PHP 7.0 to 7.1, I seem to be getting an error on all of the device overview pages. I'm not sure if that's related, but it was the most recent system update. Essentially LibreNMS stops generating the device overview after the processor graph. I've attached a screenshot of one of my devices with debug=true on.

The error which shows is:

Array ( [0] => 1 [1] => Uncaught ArgumentCountError: Too few arguments to function overlib_link(), 3 passed in /opt/librenms/html/pages/device/overview/processors.inc.php on line 100 and exactly 4 expected in /opt/librenms/html/includes/functions.inc.php:304 Stack trace: #0 /opt/librenms/html/pages/device/overview/processors.inc.php(100): overlib_link('graphs/to=14849...', 'Intel Celeron ...', '
/opt/librenms/html/includes/functions.inc.php [3] => 304 )

screenshot-fs8

@geordish geordish referenced this issue Jan 20, 2017
Merged

Allow overlib_link to accept a null class #5524

0 of 2 tasks complete
@laf laf closed this Jan 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment