PHP Warning dans http.error undefined array key battery_type

Bonjour,

Sur debian 12, core en 4.6.1 release, plugin en dernière beta de ce matin

Dans le log http.error j’ai cela à présent

0912|[Sun Sep 06 00:15:51.010998 2026] [php:warn] [pid 1689085:tid 1689085] [client 127.0.0.1:56990] PHP Warning:  Undefined array key "battery_type" in /var/www/html/plugins/arlo/core/class/arlo.class.php on line 565
0913|[Sun Sep 06 00:16:51.096741 2026] [php:warn] [pid 1685404:tid 1685404] [client 127.0.0.1:46104] PHP Warning:  Undefined array key "battery_type" in /var/www/html/plugins/arlo/core/class/arlo.class.php on line 565
0914|[Sun Sep 06 00:17:50.680106 2026] [php:warn] [pid 1689085:tid 1689085] [client 127.0.0.1:47268] PHP Warning:  Undefined array key "battery_type" in /var/www/html/plugins/arlo/core/class/arlo.class.php on line 565
0915|[Sun Sep 06 00:18:50.770032 2026] [php:warn] [pid 1689086:tid 1689086] [client 127.0.0.1:33758] PHP Warning:  Undefined array key "battery_type" in /var/www/html/plugins/arlo/core/class/arlo.class.php on line 565
0916|[Sun Sep 06 00:19:50.855857 2026] [php:warn] [pid 1861261:tid 1861261] [client 127.0.0.1:51848] PHP Warning:  Undefined array key "battery_type" in /var/www/html/plugins/arlo/core/class/arlo.class.php on line 565
0917|[Sun Sep 06 00:20:50.950817 2026] [php:warn] [pid 1685006:tid 1685006] [client 127.0.0.1:56868] PHP Warning:  Undefined array key "battery_type" in /var/www/html/plugins/arlo/core/class/arlo.class.php on line 565
0918|[Sun Sep 06 00:21:51.034858 2026] [php:warn] [pid 1685006:tid 1685006] [client 127.0.0.1:58506] PHP Warning:  Undefined array key "battery_type" in /var/www/html/plugins/arlo/core/class/arlo.class.php on line 565
0919|[Sun Sep 06 00:22:51.124236 2026] [php:warn] [pid 1685404:tid 1685404] [client 127.0.0.1:42180] PHP Warning:  Undefined array key "battery_type" in /var/www/html/plugins/arlo/core/class/arlo.class.php on line 565
0920|[Sun Sep 06 00:23:50.715817 2026] [php:warn] [pid 1686809:tid 1686809] [client 127.0.0.1:46542] PHP Warning:  Undefined array key "battery_type" in /var/www/html/plugins/arlo/core/class/arlo.class.php on line 565
0921|[Sun Sep 06 00:24:50.799874 2026] [php:warn] [pid 1686608:tid 1686608] [client 127.0.0.1:44406] PHP Warning:  Undefined array key "battery_type" in /var/www/html/plugins/arlo/core/class/arlo.class.php on line 565
0922|[Sun Sep 06 00:25:50.891431 2026] [php:warn] [pid 1689085:tid 1689085] [client 127.0.0.1:60828] PHP Warning:  Undefined array key "battery_type" in /var/www/html/plugins/arlo/core/class/arlo.class.php on line 565
0923|[Sun Sep 06 00:26:50.976370 2026] [php:warn] [pid 1686610:tid 1686610] [client 127.0.0.1:33374] PHP Warning:  Undefined array key "battery_type" in /var/www/html/plugins/arlo/core/class/arlo.class.php on line 565
0924|[Sun Sep 06 00:27:51.060966 2026] [php:warn] [pid 1689085:tid 1689085] [client 127.0.0.1:42966] PHP Warning:  Undefined array key "battery_type" in /var/www/html/plugins/arlo/core/class/arlo.class.php on line 565
0925|[Sun Sep 06 00:28:51.144786 2026] [php:warn] [pid 1685404:tid 1685404] [client 127.0.0.1:41584] PHP Warning:  Undefined array key "battery_type" in /var/www/html/plugins/arlo/core/class/arlo.class.php on line 565
0926|[Sun Sep 06 00:29:50.733630 2026] [php:warn] [pid 1685006:tid 1685006] [client 127.0.0.1:58946] PHP Warning:  Undefined array key "battery_type" in /var/www/html/plugins/arlo/core/class/arlo.class.php on line 565
0927|[Sun Sep 06 00:30:50.821664 2026] [php:warn] [pid 1861261:tid 1861261] [client 127.0.0.1:48300] PHP Warning:  Undefined array key "battery_type" in /var/www/html/plugins/arlo/core/class/arlo.class.php on line 565
0928|[Sun Sep 06 00:31:50.907473 2026] [php:warn] [pid 1861261:tid 1861261] [client 127.0.0.1:38086] PHP Warning:  Undefined array key "battery_type" in /var/www/html/plugins/arlo/core/class/arlo.class.php on line 565
0929|[Sun Sep 06 00:32:50.991753 2026] [php:warn] [pid 1685006:tid 1685006] [client 127.0.0.1:46468] PHP Warning:  Undefined ar


Merci

Salut,

Ok, j’ai supprimé cette ligne de debug qui de toute façon ne sert à rien à cette endroit;
Ca doit être pour une caméra connecté sur le secteur probablement donc de toute façon même qd l’info remonte elle n’est pas pertinente.

1 « J'aime »

Tu as raison j’ai bien une camera sur secteur

Dans le log Arlo demon, je viens de voir apparaitre ce log

0000|[segment @ 0x55669192f5c0] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly

Oui, c’est un problème qui date d’une petite dizaine d’année semble-t-il… le futur ca peut être loin :wink:
il n’y a pas de timestamp parce que c’est un flux live, donc en fait c’est normal

j’ai ajouté un flag sur la commande ffmpeg on verra si ca aide

1 « J'aime »

Merci de l’info. N’étant pas du tout développeur, je remonte juste au cas ou.

A oui une dizaine d’année… ^^

1 « J'aime »

on retrouve des posts de personnes rencontrant cette erreur il y a 10 ans oui

1 « J'aime »