Erreur Non-static method

Bonjour,

vu ce matin dans mes logs jeedom cron-execution , le plugin n’a pas été mis à jour, la seule mise à jour faite est le plugin wifilightV2

PHP Deprecated:  Non-static method DaikinOnlineCtrlTools::requestToArray() should not be called statically in /var/www/html/plugins/DaikinOnlineCtrl/core/class/DaikinOnlineCtrl.class.php on line 79
PHP Deprecated:  Non-static method DaikinOnlineCtrlTools::getModuleRequest() should not be called statically in /var/www/html/plugins/DaikinOnlineCtrl/core/class/DaikinOnlineCtrl.class.php on line 949
PHP Deprecated:  Non-static method DaikinOnlineCtrlTools::getModuleRequest() should not be called statically in /var/www/html/plugins/DaikinOnlineCtrl/core/class/DaikinOnlineCtrl.class.php on line 952
PHP Deprecated:  Non-static method DaikinOnlineCtrlTools::getModuleRequest() should not be called statically in /var/www/html/plugins/DaikinOnlineCtrl/core/class/DaikinOnlineCtrl.class.php on line 958
PHP Deprecated:  Non-static method olindoteTools::network_sendRequestByCurl() should not be called statically in /var/www/html/plugins/DaikinOnlineCtrl/core/class/DaikinOnlineCtrl.class.php on line 966
PHP Deprecated:  Non-static method DaikinOnlineCtrlTools::requestToArray() should not be called statically in /var/www/html/plugins/DaikinOnlineCtrl/core/class/DaikinOnlineCtrl.class.php on line 979
PHP Deprecated:  Non-static method DaikinOnlineCtrlTools::requestToArray() should not be called statically in /var/www/html/plugins/DaikinOnlineCtrl/core/class/DaikinOnlineCtrl.class.php on line 79
PHP Deprecated:  Non-static method discordlink::checkall() should not be called statically in /var/www/html/plugins/discordlink/core/class/discordlink.class.php on line 157
                         PHP Deprecated:  Non-static method DaikinOnlineCtrlTools::getModuleRequest() should not be called statically in /var/www/html/plugins/DaikinOnlineCtrl/core/class/DaikinOnlineCtrl.class.php on line 949
PHP Deprecated:  Non-static method DaikinOnlineCtrlTools::getModuleRequest() should not be called statically in /var/www/html/plugins/DaikinOnlineCtrl/core/class/DaikinOnlineCtrl.class.php on line 952
PHP Deprecated:  Non-static method DaikinOnlineCtrlTools::getModuleRequest() should not be called statically in /var/www/html/plugins/DaikinOnlineCtrl/core/class/DaikinOnlineCtrl.class.php on line 958
PHP Deprecated:  Non-static method olindoteTools::network_sendRequestByCurl() should not be called statically in /var/www/html/plugins/DaikinOnlineCtrl/core/class/DaikinOnlineCtrl.class.php on line 966
PHP Deprecated:  Non-static method DaikinOnlineCtrlTools::requestToArray() should not be called statically in /var/www/html/plugins/DaikinOnlineCtrl/core/class/DaikinOnlineCtrl.class.php on line 979
PHP Deprecated:  Non-static method DaikinOnlineCtrlTools::requestToArray() should not be called statically in /var/www/html/plugins/DaikinOnlineCtrl/core/class/DaikinOnlineCtrl.class.php on line 79
PHP Deprecated:  Non-static method olindoteTools::eqlogicHtml_getWidgetCacheName() should not be called statically in /var/www/html/plugins/DaikinOnlineCtrl/core/class/DaikinOnlineCtrl.class.php on line 193
PHP Deprecated:  Non-static method DaikinOnlineCtrlTools::getModuleRequest() should not be called statically in /var/www/html/plugins/DaikinOnlineCtrl/core/class/DaikinOnlineCtrl.class.php on line 949
PHP Deprecated:  Non-static method DaikinOnlineCtrlTools::getModuleRequest() should not be called statically in /var/www/html/plugins/DaikinOnlineCtrl/core/class/DaikinOnlineCtrl.class.php on line 952
PHP Deprecated:  Non-static method DaikinOnlineCtrlTools::getModuleRequest() should not be called statically in /var/www/html/plugins/DaikinOnlineCtrl/core/class/DaikinOnlineCtrl.class.php on line 958
PHP Deprecated:  Non-static method olindoteTools::network_sendRequestByCurl() should not be called statically in /var/www/html/plugins/DaikinOnlineCtrl/core/class/DaikinOnlineCtrl.class.php on line 966
PHP Deprecated:  Non-static method olindoteTools::network_setHealth() should not be called statically in /var/www/html/plugins/DaikinOnlineCtrl/core/class/DaikinOnlineCtrl.class.php on line 984
PHP Deprecated:  Non-static method olindoteTools::getObjName() should not be called statically in /var/www/html/data/custom/olindote/php/olindoteTools.class.php on line 193
PHP Deprecated:  Non-static method olindoteTools::network_setStatut() should not be called statically in /var/www/html/data/custom/olindote/php/olindoteTools.class.php on line 205
PHP Deprecated:  Non-static method DaikinOnlineCtrlTools::requestToArray() should not be called statically in /var/www/html/plugins/DaikinOnlineCtrl/core/class/DaikinOnlineCtrl.class.php on line 859
PHP Deprecated:  Non-static method DaikinOnlineCtrlTools::getModuleRequest() should not be called statically in /var/www/html/plugins/DaikinOnlineCtrl/core/class/DaikinOnlineCtrl.class.php on line 861
PHP Deprecated:  Non-static method DaikinOnlineCtrlTools::getModuleRequest() should not be called statically in /var/www/html/plugins/DaikinOnlineCtrl/core/class/DaikinOnlineCtrl.class.php on line 934
PHP Deprecated:  Non-static method DaikinOnlineCtrlTools::getModuleRequest() should not be called statically in /var/www/html/plugins/DaikinOnlineCtrl/core/class/DaikinOnlineCtrl.class.php on line 949
PHP Deprecated:  Non-static method DaikinOnlineCtrlTools::getModuleRequest() should not be called statically in /var/www/html/plugins/DaikinOnlineCtrl/core/class/DaikinOnlineCtrl.class.php on line 952
PHP Deprecated:  Non-static method DaikinOnlineCtrlTools::getModuleRequest() should not be called statically in /var/www/html/plugins/DaikinOnlineCtrl/core/class/DaikinOnlineCtrl.class.php on line 958
PHP Deprecated:  Non-static method olindoteTools::network_sendRequestByCurl() should not be called statically in /var/www/html/plugins/DaikinOnlineCtrl/core/class/DaikinOnlineCtrl.class.php on line 966
PHP Deprecated:  Non-static method DaikinOnlineCtrlTools::requestToArray() should not be called statically in /var/www/html/plugins/DaikinOnlineCtrl/core/class/DaikinOnlineCtrl.class.php on line 979

Bonjour,
Ce ne sont que des Deprecated, ils n’empêchent pas le bon fonctionnement du plugin.
La version actuelle de PHP informe que la méthode est déprécié et quelle ne fonctionnera plus un jour. C’est, il me semble, au DEV de modifier le la fonction pour la déclarer en static.

Bonne journée.

Mise à jour du plugin wifilightV2 (version de ce jour 14h) et le pb a bien été corrigé, merci encore, je mets en résolu

Hello,

Quelqu’un peut-il m’expliquer pourquoi les fonctions depreciated sont signalées au niveau de DaikinOnlineCtrl du coup, je vois pas bien le principe ?

Je me posais la même question :thinking:.

Le développeur m’a signalé cela : « parce que dans mon code j’ai joué avec error-reporting et ça influence tout Jeedom »
Il n’y aurait pas eu que ce plugin d’impacté au final

Ah je comprend mieux, mais du coups, lorsqu’une future version de PHP décidera de supprimer la méthode, les plugins… ne marcheront plus , et vu que le niveau de rapport d’erreurs PHP ne laisse pas passer les Deprecated, personne ne l’aura vu venir… :thinking:

Un ignorant a signalé mon message avec le correctif avec comme argument : hors sujet. Heureusement réglé par Mp

2 « J'aime »

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.