Project

General

Profile

Actions

Evolution #1483

closed

prevent fatal error when index is not defined on qualitative / boolean indicators

Added by Simon over 1 year ago. Updated over 1 year ago.

Status:
Fermé
Priority:
Normal
Assignee:
Category:
general
Target version:
Start date:
05/16/2023
Due date:
% Done:

100%

Estimated time:
1.50 h
Resolution:

Description

 thrown in /var/www/html/dashboard/common.php on line 215
[16-May-2023 17:40:04 Europe/Paris] PHP Warning: Undefined variable $index in /var/www/html/dashboard/common.php on line 215
[16-May-2023 17:40:04 Europe/Paris] PHP Fatal error: Uncaught TypeError: min(): Argument #1 ($value) must be of type array, null given in /var/www/html/dashboard/common.php:215
Stack trace:
#0 /var/www/html/dashboard/common.php(215): min()
#1 /var/www/html/dashboard/common.php(335): getIndicatorInfoBox()
#2 /var/www/html/dashboard/common.php(495): getGaugeViz()
#3 /var/www/html/dashboard/list.php(126): getViz()
#4 /var/www/html/dashboard/list.php(306): getIndicatorsTable()
#5 /var/www/html/dashboard/index.php(52): include_once('...')
#6 /var/www/html/templates/admin/2021/index.php(69): include_once('...')
#7 /var/www/html/admin/index.php(74): include_once('...')
#8 {main}
Actions #1

Updated by Simon over 1 year ago

  • Subject changed from prevent fatal error when index is note defined on qualitative / boolean indicators to prevent fatal error when index is not defined on qualitative / boolean indicators
Actions #2

Updated by Simon over 1 year ago

  • Status changed from Nouveau to Fermé
  • % Done changed from 0 to 100

Applied in changeset linea21|r4237.

Actions

Also available in: Atom PDF