Compatibilité Debian 12 - daemon() : Non-static method

Bonjour,

Une erreur de compatibilité notée sur Sonoffdiy.
[2026-03-26 16:25:05] ERROR Erreur sur sonoffdiy::daemon() : Non-static method sonoffdiy::LanceMonitor() cannot be called statically .

La classe doit être corrigée comme suit :
Avant : public function LanceMonitor()
Après : public static function LanceMonitor()

Le cron démarre ensuite sans problème.


Informations Jeedom

Core : 4.5.3 (4.5.3)
Debian 12
DNS Jeedom : oui

Plugin : Sonoff DIY
Version : 2022-04-13 01:28:40 (stable)
Statut Démon : Démarré - (2026-03-26 16:36:20)