Message d'erreur dans le http.error pour thermostat

BOnjour,

J’ai ces message dans le log http.error pour le plugin thermostat alter view. Cela ne gène en rien le mode de fonctionnement.

0006|#0 /var/www/html/plugins/thermoAlternateView/core/class/thermoAlternateView.class.php(437): thermoAlternateView::getLinkCalendar(NULL)
0007|#1 /var/www/html/plugins/thermoAlternateView/core/ajax/thermoAlternateView.ajax.php(31): thermoAlternateView::getNextEventCalendar(NULL, false)
0008|#2 {main}
0009|thrown in /var/www/html/plugins/thermoAlternateView/core/class/thermoAlternateView.class.php on line 549, referer: https://mch.eu.jeedom.link/index.php?v=m&p=home
0010|[Sat Feb 19 23:00:04.891717 2022] [php7:error] [pid 11721] [client 88.127.233.5:0] PHP Fatal error:  Uncaught Error: Call to a member function getCmd() on null in /var/www/html/plugins/thermoAlternateView/core/class/thermoAlternateView.class.php:549
0011|Stack trace:
0012|#0 /var/www/html/plugins/thermoAlternateView/core/class/thermoAlternateView.class.php(437): thermoAlternateView::getLinkCalendar(NULL)
0013|#1 /var/www/html/plugins/thermoAlternateView/core/ajax/thermoAlternateView.ajax.php(31): thermoAlternateView::getNextEventCalendar(NULL, false)
0014|#2 {main}
0015|thrown in /var/www/html/plugins/thermoAlternateView/core/class/thermoAlternateView.class.php on line 549, referer: https://mch.eu.jeedom.link/index.php?v=m&p=home
0016|[Sun Feb 20 18:30:04.017902 2022] [php7:error] [pid 20524] [client 92.184.108.31:0] PHP Fatal error:  Uncaught Error: Call to a member function getCmd() on null in /var/www/html/plugins/thermoAlternateView/core/class/thermoAlternateView.class.php:549
0017|Stack trace:
0018|#0 /var/www/html/plugins/thermoAlternateView/core/class/thermoAlternateView.class.php(437): thermoAlternateView::getLinkCalendar(NULL)
0019|#1 /var/www/html/plugins/thermoAlternateView/core/ajax/thermoAlternateView.ajax.php(31): thermoAlternateView::getNextEventCalendar(NULL, false)
0020|#2 {main}
0021|thrown in /var/www/html/plugins/thermoAlternateView/core/class/thermoAlternateView.class.php on line 549, referer: https://mch.eu.jeedom.link/index.php?v=m&p=home
0022|[Sun Feb 20 18:30:04.756371 2022] [php7:error] [pid 20227] [client 92.184.108.31:0] PHP Fatal error:  Uncaught Error: Call to a member function getCmd() on null in /var/www/html/plugins/thermoAlternateView/core/class/thermoAlternateView.class.php:549
0023|Stack trace:
0024|#0 /var/www/html/plugins/thermoAlternateView/core/class/thermoAlternateView.class.php(437): thermoAlternateView::getLinkCalendar(NULL)
0025|#1 /var/www/html/plugins/thermoAlternateView/core/ajax/thermoAlternateView.ajax.php(31): thermoAlternateView::getNextEventCalendar(NULL, false)
0026|#2 {main}

Bonjour,

C’est pas lié à cela ?

Bonjour,

Problème toujours présent. Les calendrier sont bien lié pourtant.

0001|[Fri Apr 22 07:41:54.458445 2022] [php7:error] [pid 29398] [client xxxxxxxx] PHP Fatal error:  Uncaught Error: Call to a member function getCmd() on null in /var/www/html/plugins/thermoAlternateView/core/class/thermoAlternateView.class.php:549
0002|Stack trace:
0003|#0 /var/www/html/plugins/thermoAlternateView/core/class/thermoAlternateView.class.php(437): thermoAlternateView::getLinkCalendar(NULL)
0004|#1 /var/www/html/plugins/thermoAlternateView/core/ajax/thermoAlternateView.ajax.php(31): thermoAlternateView::getNextEventCalendar(NULL, false)
0005|#2 {main}
0006|thrown in /var/www/html/plugins/thermoAlternateView/core/class/thermoAlternateView.class.php on line 549, referer: https://xxxxxxx
0007|[Fri Apr 22 07:42:10.355655 2022] [php7:error] [pid 29395] [client xxxxxxx] PHP Fatal error:  Uncaught Error: Call to a member function getCmd() on null in /var/www/html/plugins/thermoAlternateView/core/class/thermoAlternateView.class.php:549
0008|Stack trace:
0009|#0 /var/www/html/plugins/thermoAlternateView/core/class/thermoAlternateView.class.php(437): thermoAlternateView::getLinkCalendar(NULL)
0010|#1 /var/www/html/plugins/thermoAlternateView/core/ajax/thermoAlternateView.ajax.php(31): thermoAlternateView::getNextEventCalendar(NULL, false)
0011|#2 {main}
0012|thrown in /var/www/html/plugins/thermoAlternateView/core/class/thermoAlternateView.class.php on line 549, referer: https://xxxxxx
0013|[Fri Apr 22 07:42:10.356164 2022] [php7:error] [pid 18360] [client xxxxxxxxxx] PHP Fatal error:  Uncaught Error: Call to a member function getCmd() on null in /var/www/html/plugins/thermoAlternateView/core/class/thermoAlternateView.class.php:549
0014|Stack trace:
0015|#0 /var/www/html/plugins/thermoAlternateView/core/class/thermoAlternateView.class.php(437): thermoAlternateView::getLinkCalendar(NULL)
0016|#1 /var/www/html/plugins/thermoAlternateView/core/ajax/thermoAlternateView.ajax.php(31): thermoAlternateView::getNextEventCalendar(NULL, false)
0017|#2 {main}
0018|thrown in /var/www/html/plugins/thermoAlternateView/core/class/thermoAlternateView.class.php on line 549, referer: https://xxxxxxxx
0019|[Fri Apr 22 07:42:15.048012 2022] [php7:error] [pid 29399] [client xxxxxxxx] PHP Fatal error:  Uncaught Error: Call to a member function getCmd() on null in /var/www/html/plugins/thermoAlternateView/core/class/thermoAlternateView.class.php:549
0020|Stack trace:
0021|#0 /var/www/html/plugins/thermoAlternateView/core/class/thermoAlternateView.class.php(437): thermoAlternateView::getLinkCalendar(NULL)
0022|#1 /var/www/html/plugins/thermoAlternateView/core/ajax/thermoAlternateView.ajax.php(31): thermoAlternateView::getNextEventCalendar(NULL, false)
0023|#2 {main}
0024|thrown in /var/www/html/plugins/thermoAlternateView/core/class/thermoAlternateView.class.php on line 549, referer: https://xxxxxxx
0025|[Fri Apr 22 07:42:15.048113 2022] [php7:error] [pid 18683] [client xxxxx] PHP Fatal error:  Uncaught Error: Call to a member function getCmd() on null in /var/www/html/plugins/thermoAlternateView/core/class/thermoAlternateView.class.php:549
0026|Stack trace:
0027|#0 /var/www/html/plugins/thermoAlternateView/core/class/thermoAlternateView.class.php(437): thermoAlternateView::getLinkCalendar(NULL)
0028|#1 /var/www/html/plugins/thermoAlternateView/core/ajax/thermoAlternateView.ajax.php(31): thermoAlternateView::getNextEventCalendar(NULL, false)
0029|#2 {main}
0030|thrown in /var/www/html/plugins/thermoAlternateView/core/class/thermoAlternateView.class.php on line 549, referer: https://xxxxxxx

Tu peux essayer de remplacer le fichier plugins\thermoAlternateView\core\ajax\thermoAlternateView.ajax.php par celui que je te joint.

thermoAlternateView.ajax.php.txt (1,4 Ko)
(Bien penser à enlever l’extention .txt avant de faire le remplacement)

Merci superbricolo. Je n’ai plus le problème mais s’il revient j’appliquerais ta methode.
Tu reprends le plugin ?