Salut,
Je suis passé de la beta à la stable ce matin.
Core en v4.1.19
J’ai supprimé toutes les commandes de l’équipement et sauvegardé.
Les commandes ont bien été recréées… sauf rafraichir.
En récréant après avoir supprimé mon équipement, je n’ai plus le souci…
Mais bon je le signale qd même au cas ou dans le code il y aie une coquille.
Néanmoins quand je vais sur le dashboard voir le résultat, j’ai le bandeau rouge erreur 500
Dans les logs HTTP j’ai :
[Wed Feb 03 07:58:07.029792 2021] [php7:error] [pid 28511] [client 192.168.1.226:58218] PHP Fatal error: Uncaught Error: Call to a member function getId() on bool in /var/www/html/plugins/enedis/core/class/enedis.class.php:270
Stack trace:
#0 /var/www/html/core/ajax/eqLogic.ajax.php(67): enedis->toHtml('dashboard')
#1 {main}
thrown in /var/www/html/plugins/enedis/core/class/enedis.class.php on line 270, referer: http://192.168.1.107/index.php?v=d&p=dashboard&object_id=41
[Wed Feb 03 07:59:09.831369 2021] [php7:error] [pid 22944] [client 192.168.1.226:58265] PHP Fatal error: Uncaught Error: Call to a member function getId() on bool in /var/www/html/plugins/enedis/core/class/enedis.class.php:270
Stack trace:
#0 /var/www/html/core/ajax/object.ajax.php(125): enedis->toHtml('dashboard')
#1 /var/www/html/core/ajax/object.ajax.php(171): jeeAjax_objectToHtml('41', 'dashboard', 'all', 'all', '')
#2 {main}
thrown in /var/www/html/plugins/enedis/core/class/enedis.class.php on line 270, referer: http://192.168.1.107/index.php?v=d&p=dashboard&object_id=41
[Wed Feb 03 07:59:19.179544 2021] [php7:error] [pid 21206] [client 192.168.1.226:58267] PHP Fatal error: Uncaught Error: Call to a member function getId() on bool in /var/www/html/plugins/enedis/core/class/enedis.class.php:270
Stack trace:
#0 /var/www/html/core/ajax/object.ajax.php(125): enedis->toHtml('dashboard')
#1 /var/www/html/core/ajax/object.ajax.php(171): jeeAjax_objectToHtml('41', 'dashboard', 'all', 'all', '')
#2 {main}
thrown in /var/www/html/plugins/enedis/core/class/enedis.class.php on line 270, referer: http://192.168.1.107/index.php?v=d&p=dashboard&object_id=41