Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

v1.4.2 dont work with PHP 8.2.7 #329

@Danrockan

Description

@Danrockan

Hello,

I have a problem with the module as below. I am using version 1.4.2 because I need to use PosgreSQL as a backend.

#0 [internal function]: array_merge()
#1 /usr/share/icingaweb2/modules/grafana/library/Grafana/Helpers/Timeranges.php(137): call_user_func_array()
#2 /usr/share/icingaweb2/modules/grafana/application/forms/Config/GeneralConfigForm.php(74): Icinga\Module\Grafana\Helpers\Timeranges::getTimeranges()
#3 /usr/share/php/Icinga/Web/Form.php(776): Icinga\Module\Grafana\Forms\Config\GeneralConfigForm->createElements()
#4 /usr/share/php/Icinga/Web/Form.php(1118): Icinga\Web\Form->create()
#5 /usr/share/icingaweb2/application/forms/ConfigForm.php(110): Icinga\Web\Form->populate()
#6 /usr/share/php/Icinga/Web/Form.php(1204): Icinga\Forms\ConfigForm->onRequest()
#7 /usr/share/icingaweb2/modules/grafana/application/controllers/ConfigController.php(20): Icinga\Web\Form->handleRequest()
#8 /usr/share/icinga-php/vendor/vendor/shardj/zf1-future/library/Zend/Controller/Action.php(516): Icinga\Module\Grafana\Controllers\ConfigController->indexAction()
#9 /usr/share/php/Icinga/Web/Controller/Dispatcher.php(76): Zend_Controller_Action->dispatch()
#10 /usr/share/icinga-php/vendor/vendor/shardj/zf1-future/library/Zend/Controller/Front.php(954): Icinga\Web\Controller\Dispatcher->dispatch()
#11 /usr/share/php/Icinga/Application/Web.php(294): Zend_Controller_Front->dispatch()
#12 /usr/share/php/Icinga/Application/webrouter.php(105): Icinga\Application\Web->dispatch()
#13 /usr/share/icingaweb2/public/index.php(4): require_once(String)
#14 {main}

Your Environment

  • Icinga Web 2 Grafana version (System - About): 1.4.2
  • Icinga Web 2 version and modules (System - About): 2.12.0
  • PHP version: 8.2.7
  • PostgreSQL version: 15.3
  • Version used (icinga2 --version): icinga2 - The Icinga 2 network monitoring daemon (version: r2.14.0-1)
  • Operating System and version: Debian GNU/Linux 12 (bookworm)
  • Enabled features (icinga2 feature list):
    Disabled features: compatlog debuglog elasticsearch gelf graphite icingadb influxdb journald livestatus opentsdb perfdata syslog
    Enabled features: api checker command ido-pgsql influxdb2 mainlog notification

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions