Debian 12 + Jeedom 4.5 - warning Undefined variable, array & Trying to access array offset on value of type null

Bonjour,

J’ai réinstallé from scratch mon serveur pour passer de debian 11 à debian 12 avec jeedom 4.5 hier soir (+ restauration sauvegarde jeedom 4.5).

J’ai ces messages qui apparaissent dans le fichier http.error :

0027|[Wed Dec 10 07:46:36.852897 2025] [php:warn] [pid 28941:tid 28941] [client 92.184.119.208:0] PHP Warning:  Undefined variable $pluginPanelMobile in /var/www/html/plugins/mobile/core/class/mobile.class.php on line 1065

0029|[Wed Dec 10 07:46:36.852991 2025] [php:warn] [pid 28941:tid 28941] [client 92.184.119.208:0] PHP Warning:  Undefined array key 3 in /var/www/html/plugins/mobile/core/class/mobile.class.php on line 1058
0030|[Wed Dec 10 07:46:36.853006 2025] [php:warn] [pid 28941:tid 28941] [client 92.184.119.208:0] PHP Warning:  Trying to access array offset on value of type null in /var/www/html/plugins/mobile/core/class/mobile.class.php on line 1058
0032|[Wed Dec 10 07:46:36.853042 2025] [php:warn] [pid 28941:tid 28941] [client 92.184.119.208:0] PHP Warning:  Undefined array key 4 in /var/www/html/plugins/mobile/core/class/mobile.class.php on line 1058
0033|[Wed Dec 10 07:46:36.853057 2025] [php:warn] [pid 28941:tid 28941] [client 92.184.119.208:0] PHP Warning:  Trying to access array offset on value of type null in /var/www/html/plugins/mobile/core/class/mobile.class.php on line 1058

0048|[Wed Dec 10 08:20:59.611339 2025] [php:warn] [pid 196114:tid 196114] [client 127.0.0.1:51702] PHP Warning:  Undefined array key "answer" in /var/www/html/plugins/mobile/core/class/mobile.class.php on line 1394
0049|[Wed Dec 10 08:20:59.611392 2025] [php:warn] [pid 196114:tid 196114] [client 127.0.0.1:51702] PHP Warning:  Undefined array key "variable" in /var/www/html/plugins/mobile/core/class/mobile.class.php on line 1395
0050|[Wed Dec 10 08:20:59.611410 2025] [php:warn] [pid 196114:tid 196114] [client 127.0.0.1:51702] PHP Warning:  Undefined array key "answer" in /var/www/html/plugins/mobile/core/class/mobile.class.php on line 1396
0051|[Wed Dec 10 08:20:59.611430 2025] [php:warn] [pid 196114:tid 196114] [client 127.0.0.1:51702] PHP Warning:  Undefined array key "timeout" in /var/www/html/plugins/mobile/core/class/mobile.class.php on line 1397

cela correspond au code suivant :

1058					$objectId = $menuCustomArray[$i]['selectNameMenu'];
1059					$isActive = true;
1060					$webviewUrl = 'd'; 
					
1062					log::add('mobile', 'debug', '| - objectId > ' . $objectId);

1063					// GENERATE URLS FOR MENU CUSTOM 
1064					$result = self::generateTypeObject($objectId, $i, $webviewUrl, $pluginPanelMobile);
1065					$typeObject = $result['typeObject'];
1066					$typewebviewurl = $result['typewebviewurl'];
1067					$typeobjectId = $result['typeobjectId'];
1068					$tabUrl = $result['tabUrl'];

...

1394			$answer = ($_options['answer']) ? join(';', $_options['answer']) : null;
1395			$askVariable = $_options['variable'];
1396			$askType = ($_options['answer']) ? 'ask_Text' : 'notif';
1397			$timeout = ($_options['timeout']) ? $_options['timeout'] : 'nok';

Informations Jeedom

Core : 4.5 (master)
DNS Jeedom : non

Plugin : App Mobile
Version : 2025-05-05 14:56:06 (stable)

Salut
Est ce que tu utilises la nouvelle app mobile ?
Si oui il faut être avec le plugin en bêta
Après regarder s’il y a toujours les mêmes erreurs

Je suis en debian 12 et je n ai pas d erreur avec la bêta du plugin

Merci pour l’info, je vais repasser sur le canal beta dans ce cas (j’essaye en prod de ne pas rester trop longtemps en beta).

Suite au passage sur la beta, je n’ai plus de problème.

Plugin : App Mobile
Version : 2025-07-09 01:07:38 (beta)
OS : debian 12.12 on kvm - PHP : 8.2.29

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.