Bonjour j’ai regardé ce que j’ai dans les logs. J’ai ceci
Pour le log candy :
[2021-08-24 16:07:41][DEBUG] : getKey
[2021-08-24 16:07:41][DEBUG] : sendCommand
[2021-08-24 16:07:44][DEBUG] : ping result : 1
[2021-08-24 16:07:44][DEBUG] : notOnline
[2021-08-24 16:07:55][DEBUG] : getKey
[2021-08-24 16:07:55][DEBUG] : sendCommand
[2021-08-24 16:07:59][DEBUG] : ping result : 1
[2021-08-24 16:07:59][DEBUG] : notOnline
[2021-08-24 16:08:07][DEBUG] : getKey
[2021-08-24 16:08:07][DEBUG] : sendCommand
[2021-08-24 16:08:17][DEBUG] : ping result : 1
[2021-08-24 16:08:17][DEBUG] : notOnline
[2021-08-24 16:09:22][DEBUG] : getKey
[2021-08-24 16:09:22][DEBUG] : sendCommand
[2021-08-24 16:09:25][DEBUG] : ping result : 1
[2021-08-24 16:09:26][DEBUG] : notOnline
[2021-08-24 16:09:36][DEBUG] : getKey
[2021-08-24 16:09:36][DEBUG] : sendCommand
[2021-08-24 16:09:39][DEBUG] : ping result : 1
[2021-08-24 16:09:39][DEBUG] : notOnline
[2021-08-24 16:09:46][DEBUG] : getKey
[2021-08-24 16:09:46][DEBUG] : sendCommand
[2021-08-24 16:09:46][DEBUG] : ping result : 0
[2021-08-24 16:10:05][DEBUG] : cron5 [Buanderie][Lave linge]
[2021-08-24 16:10:05][DEBUG] : getStatus
[2021-08-24 16:10:05][DEBUG] : key not registered
[2021-08-24 16:10:05][DEBUG] : cron5 [Buanderie][Seche Linge]
[2021-08-24 16:10:05][DEBUG] : getStatus
[2021-08-24 16:10:05][DEBUG] : key not registereet
voila les log de http.error
[Tue Aug 24 15:09:46.185223 2021] [php7:error] [pid 16899] [client 192.168.1.xxx:51692] PHP Fatal error: Uncaught Error: Function name must be a string in /var/www/html/plugins/candy/core/class/candy.class.php:119
Stack trace:
#0 /var/www/html/plugins/candy/core/class/candy.class.php(67): candy->sendCommand('key')
#1 /var/www/html/plugins/candy/core/ajax/candy.ajax.php(38): candy->apiKey()
#2 {main}
thrown in /var/www/html/plugins/candy/core/class/candy.class.php on line 119, referer: http://192.168.1.xxx/index.php?v=d&m=candy&p=candy&id=19