New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught ArgumentCountError on device overview page #5522

Closed
ghost opened this Issue Jan 20, 2017 · 1 comment

Comments

Projects
None yet
1 participant
@ghost

ghost 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 added a commit that referenced this issue Jan 20, 2017

@laf laf closed this Jan 20, 2017

@lock

This comment has been minimized.

Show comment
Hide comment
@lock

lock bot May 18, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed.

lock bot commented May 18, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed.

@lock lock bot locked as resolved and limited conversation to collaborators May 18, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.