En effet, voici lorsque je refresh le dashboard:
0079|[Sun Jan 19 12:27:08.109873 2025] [php:error] [pid 1169:tid 1169] [client 192.168.100.2:49953] PHP Fatal error: Uncaught TypeError: Unsupported operand types: int / string in /var/www/html/core/class/event.class.php:112\nStack trace:\n#0 /var/www/html/core/ajax/event.ajax.php(30): event::changes()\n#1 {main}\n thrown in /var/www/html/core/class/event.class.php on line 112
0080|[Sun Jan 19 12:27:08.512806 2025] [php:error] [pid 1174:tid 1174] [client 192.168.100.2:49947] PHP Fatal error: Uncaught TypeError: Unsupported operand types: int / string in /var/www/html/core/class/event.class.php:112\nStack trace:\n#0 /var/www/html/core/ajax/event.ajax.php(30): event::changes()\n#1 {main}\n thrown in /var/www/html/core/class/event.class.php on line 112
0081|[Sun Jan 19 12:27:08.637296 2025] [php:error] [pid 893:tid 893] [client 192.168.100.2:49948] PHP Fatal error: Uncaught TypeError: Unsupported operand types: int / string in /var/www/html/core/class/event.class.php:112\nStack trace:\n#0 /var/www/html/core/ajax/event.ajax.php(30): event::changes()\n#1 {main}\n thrown in /var/www/html/core/class/event.class.php on line 112
0082|[Sun Jan 19 12:27:08.747775 2025] [php:error] [pid 891:tid 891] [client 192.168.100.2:49957] PHP Fatal error: Uncaught TypeError: Unsupported operand types: int / string in /var/www/html/core/class/event.class.php:112\nStack trace:\n#0 /var/www/html/core/ajax/event.ajax.php(30): event::changes()\n#1 {main}\n thrown in /var/www/html/core/class/event.class.php on line 112
du coup, grâce à ton indication j’ai regardé le code:
public static function changes($_datetime, $_longPolling = null, $_filter = null) {
$return = self::filterEvent(self::changesSince($_datetime), $_filter);
if ($_longPolling === null || count($return) > 0) {
return array('datetime' => getmicrotime(), 'result'=> utils::o2a($return));
}
$waitTime = config::byKey('event::waitPollingTime');
if($waitTime == 0){
$waitTime = 1;
}
$i = 0;
$max_cycle = $_longPolling / $waitTime;
j’ai trouvé ce post: DEbian 12.7 core alpha 4.5 le plugin click link plus fonctionnel - #13 par mortyre
du coup j’ai regardé event::waitPollingTime dans la DB ==>
Mais qui c’est qui m’a mis cette valeur qui devrait être numérique à « https://market.jeedom.com » ? est-ce un plugin ???
je vais dans admin/cache:
et je mets 1 à la place de cette horreur ==> tout remarche
J’espère quand même que j’ai pas un plugin quelque part qui va rechanger ça ; vraiment bizarre