Erreur depuis dernière mise a jour

Bonjour, je ne sais pas si cela a une relation, depuis la dernière mise a jour et celle du core, j’ai des erreurs de jeeduino dans les Logs du Cron-Execution:

PHP Deprecated:  Non-static method jeedouino::StatusBoardDemon() should not be called statically in /var/www/html/plugins/jeedouino/core/class/jeedouino.class.php on line 192
PHP Deprecated:  Non-static method jeedouino::FilterDemon() should not be called statically in /var/www/html/plugins/jeedouino/core/class/jeedouino.class.php on line 1948
PHP Deprecated:  Non-static method jeedouino::StatusBoardDemon() should not be called statically in /var/www/html/plugins/jeedouino/core/class/jeedouino.class.php on line 192
PHP Deprecated:  Non-static method jeedouino::FilterDemon() should not be called statically in /var/www/html/plugins/jeedouino/core/class/jeedouino.class.php on line 1948
PHP Deprecated:  Non-static method jeedouino::StatusBoardDemon() should not be called statically in /var/www/html/plugins/jeedouino/core/class/jeedouino.class.php on line 192
PHP Deprecated:  Non-static method jeedouino::FilterDemon() should not be called statically in /var/www/html/plugins/jeedouino/core/class/jeedouino.class.php on line 1948
PHP Deprecated:  Non-static method jeedouino::StatusBoardDemon() should not be called statically in /var/www/html/plugins/jeedouino/core/class/jeedouino.class.php on line 192
PHP Deprecated:  Non-static method jeedouino::FilterDemon() should not be called statically in /var/www/html/plugins/jeedouino/core/class/jeedouino.class.php on line 1948
PHP Deprecated:  Non-static method jeedouino::StatusBoardDemon() should not be called statically in /var/www/html/plugins/jeedouino/core/class/jeedouino.class.php on line 192
PHP Deprecated:  Non-static method jeedouino::FilterDemon() should not be called statically in /var/www/html/plugins/jeedouino/core/class/jeedouino.class.php on line 1948
PHP Deprecated:  Non-static method jeedouino::ConfigurePinValue() should not be called statically in /var/www/html/plugins/jeedouino/core/class/jeedouino.class.php on line 4215
PHP Deprecated:  Non-static method jeedouino::SendToBoardDemon() should not be called statically in /var/www/html/plugins/jeedouino/core/class/jeedouino.class.php on line 904
PHP Deprecated:  Non-static method jeedouino::FilterDemon() should not be called statically in /var/www/html/plugins/jeedouino/core/class/jeedouino.class.php on line 1585
PHP Deprecated:  Non-static method jeedouino::GetJeedomIP() should not be called statically in /var/www/html/plugins/jeedouino/core/class/jeedouino.class.php on line 1595
PHP Deprecated:  Non-static method jeedouino::GetJeedomIP() should not be called statically in /var/www/html/plugins/jeedouino/core/class/jeedouino.class.php on line 1599
PHP Deprecated:  Non-static method jeedouino::ConfigurePinValue() should not be called statically in /var/www/html/plugins/jeedouino/core/class/jeedouino.class.php on line 4215
PHP Deprecated:  Non-static method jeedouino::SendToBoardDemon() should not be called statically in /var/www/html/plugins/jeedouino/core/class/jeedouino.class.php on line 904
PHP Deprecated:  Non-static method jeedouino::FilterDemon() should not be called statically in /var/www/html/plugins/jeedouino/core/class/jeedouino.class.php on line 1585
PHP Deprecated:  Non-static method jeedouino::GetJeedomIP() should not be called statically in /var/www/html/plugins/jeedouino/core/class/jeedouino.class.php on line 1595
PHP Deprecated:  Non-static method jeedouino::GetJeedomIP() should not be called statically in /var/www/html/plugins/jeedouino/core/class/jeedouino.class.php on line 1599

J’ai relancer l’installation des dépendances sans changement.
Cela n’a pas pour le moment d’incidence sur le fonctionnement de mon installation.
Je viens de voir apres avoir lancer une verification général dans la page de configuration que j’ai d’autres programme qui me signalent PHP Deprecated le plugin Mail

Citation
PHP Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in /var/www/html/plugins/mail/3rdparty/PHPMailer/PHPMailerAutoload.php on line 45

Merci de vos réponses.
Cdt

Bonjour, y a t’il une solution pour enlever ce flux de message dans le log et pour résoudre se problème. Car il y a des fonctions utilisées par le plugin qui sont obsoletes.
Merci

Bonjour ,
avez vous une idée ??

Merci

Bonjour,

Vous avez surement mis à jour la version de php en même temps que le core.
Chaque nouvelle version de php étant plus stricte que la précédente, cela génère souvent des messages de « warnings ».
Ce ne sont donc pas les fonctions qui sont obsolètes mais la syntaxe qui n’est plus convenable.
Dans tous les cas, cela n’affecte en rien le fonctionnement du plugin.

Vous pouvez :

  • soit revenir à la version précédente de php
  • soit modifier l’error reporting de php
  • soit attendre une mise à jour du plugin qui corrige la syntaxe.

Bonne journée.

Bonjour, quand cela est venu je n’avais fait que la mise a jour du core, et du plugin. Je n’aurais en fait pas du faire les 2 mises a jour en même temps, car cela est difficile après bien identifier la raison.
Je n’ai pas fait spécialement de mise a jour du PHP car mon installation est récente (4 mois).
Je vais attendre la mise a jour qui corrigera ce problème, car je ne peux pas enlever ces messages bien en réglant de plusieurs façon les logs( problème rencontré déja sur une autre sujet)

bonjour revlys,
je rencontre un soucis depuis la mise a jour que tu as pousser ces derniers jours,

Arduino : 1.8.18 (Windows 10), Carte : "LOLIN(WEMOS) D1 R2 & mini, 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 921600"





















C:\Users\dimitri\AppData\Local\Temp\JeedouinoESP_622\JeedouinoESP_622.ino: In function 'int read_DSx(int)':

JeedouinoESP_622:1796:4: error: return-statement with no value, in function returning 'int' [-fpermissive]

 1796 |    return;

      |    ^~~~~~

JeedouinoESP_622:1803:4: error: return-statement with no value, in function returning 'int' [-fpermissive]

 1803 |    return;

      |    ^~~~~~

JeedouinoESP_622:1817:7: error: return-statement with no value, in function returning 'int' [-fpermissive]

 1817 |       return;

      |       ^~~~~~

exit status 1

return-statement with no value, in function returning 'int' [-fpermissive]


tu peut me contacter en privé j’aimerais te parler d’autre chose :slight_smile: merci