Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Sep 2022 07:00:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 266408] net-mgmt/icingaweb2-module-grafana: Uncaught ArgumentCountError: array_merge() does not accept unknown named parameters
Message-ID:  <bug-266408-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266408

            Bug ID: 266408
           Summary: net-mgmt/icingaweb2-module-grafana: Uncaught
                    ArgumentCountError: array_merge() does not accept
                    unknown named parameters
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: joneum@FreeBSD.org
          Reporter: ohartmann@walstatt.org
          Assignee: joneum@FreeBSD.org
             Flags: maintainer-feedback?(joneum@FreeBSD.org)

The error shown below arise on FreeBSD 13.1-RELEASE-p2 jails (base host run=
ning
same OS) when trying to access within icingaweb2 the configuration panel of=
 the
module net-mgmt/icingaweb2-module-grafana. The port is installed either from
the official ports repository or from a poudriere home-grewn ports reposito=
ry.
Either way, Icingaweb2 drops always the same error as used on the conditions
described initially.

[...]
Uncaught ArgumentCountError: array_merge() does not accept unknown named
parameters in
/usr/local/www/icingaweb2/modules/grafana/library/Grafana/Helpers/Timerange=
s.php:137
Stack trace:
#0 [internal function]: array_merge()
#1
/usr/local/www/icingaweb2/modules/grafana/library/Grafana/Helpers/Timerange=
s.php(137):
call_user_func_array()
#2
/usr/local/www/icingaweb2/modules/grafana/application/forms/Config/GeneralC=
onfigForm.php(74):
Icinga\Module\Grafana\Helpers\Timeranges::getTimeranges()
#3 /usr/local/www/icingaweb2/library/Icinga/Web/Form.php(770):
Icinga\Module\Grafana\Forms\Config\GeneralConfigForm->createElements()
#4 /usr/local/www/icingaweb2/library/Icinga/Web/Form.php(1112):
Icinga\Web\Form->create()
#5 /usr/local/www/icingaweb2/application/forms/ConfigForm.php(106):
Icinga\Web\Form->populate()
#6 /usr/local/www/icingaweb2/library/Icinga/Web/Form.php(1200):
Icinga\Forms\ConfigForm->onRequest()
#7
/usr/local/www/icingaweb2/modules/grafana/application/controllers/ConfigCon=
troller.php(20):
Icinga\Web\Form->handleRequest()
#8 /usr/local/www/icingaweb2/library/vendor/Zend/Controller/Action.php(507):
Icinga\Module\Grafana\Controllers\ConfigController->indexAction()
#9 /usr/local/www/icingaweb2/library/Icinga/Web/Controller/Dispatcher.php(7=
6):
Zend_Controller_Action->dispatch()
#10 /usr/local/www/icingaweb2/library/vendor/Zend/Controller/Front.php(937):
Icinga\Web\Controller\Dispatcher->dispatch()
#11 /usr/local/www/icingaweb2/library/Icinga/Application/Web.php(300):
Zend_Controller_Front->dispatch()
#12 /usr/local/www/icingaweb2/library/Icinga/Application/webrouter.php(99):
Icinga\Application\Web->dispatch()
#13 /usr/local/www/icingaweb2/public/index.php(4): require_once('...')
#14 {main}
thrown

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266408-7788>