(BUG) Plugin JeeLog -- PHP Deprecated function

Tags: #<Tag:0x00007f384e362530> #<Tag:0x00007f384e3622b0>

Bonjour,
Je viens d’effectuer l’upgrade vers 4.0.45 et j’ai les messages suivants dans le fichier log cron_execution provenant du plugin jeelog
Je pense qu’il y a un problème.
Je suis sous Strech et Jeedom 4.0.45.

PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 115
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 130
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 131
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 149
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 263
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 273
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 149
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 263
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 273
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 149
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 263
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 273
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 158
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 334
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 149
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 263
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 273
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 149
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 263
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 273
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 149
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 263
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 273
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 149
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 263
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 273
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 158
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 334
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 149
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 263
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 273
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 149
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 263
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 273
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 149
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 263
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 273
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 149
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 263
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 273
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 149
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 263
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 273
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 149
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 263
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 273
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 149
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 263
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 273
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 158
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 334
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 177
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 233
PHP Deprecated:  Non-static method jeelog::logger() should not be called statically in /var/www/html/plugins/jeelog/core/class/jeelog.class.php on line 237

Bonjour,

Peut tu essayé le plugin en beta ?

Tu a quel version de php ?

Bonjour,

La version de PHP est la 7.0.33-0+deb9u7.

Comment puis-je installer la version beta de jeelog ?

Aucun problème chez moi.
Version OS Linux 4.9.0-12-amd64 #1 SMP Debian 4.9.210-1 (2020-01-20) x86_64 GNU/Linux [9.12]
Version Jeedom 4.0.45
Version Jeelog 2020-02-18 07:27:24
Version PHP 7.0.33-0+deb9u7

J’ai compris le mode de fonctionnement du forum.
Aide toi toi même. Tu n’auras pas de réponse pour t’aider…
Je retourne au snapshot de la version 4.0.43

Ah c’est sur que tu envie.

Pour les plugin en bêta tu va sur le market dans ton jeedom (plugin, gestion) tu le trouve et tu fait installer beta. Il faut avant autoriser les plugins bêtas si c’est pas déjà fait sur ton compte market.

@kiboost
Après retour en 4.0.43, j’ai également le problème. Je ne l’avais pas vu.
Upgrade de stretch pour arriver en Version OS Linux 4.9.0-12-amd64 #1 SMP Debian 4.9.210-1 (2020-01-20) x86_64 GNU/Linux [9.12]
Reboot de l’OS.
Cela ne résoud pas le problème.

Vu le message d’erreur, je tente de modifier le code de jeelog.class.php.
J’ajoute « static » dans la déclaration de la fonction logger.
Le problème a disparu et j’ai des messages dans le log jeelog qui est en debug.

Je n’ai pas ce problème sur une autre instance de jeedom.
Maintenant, la question qui reste est pourquoi.
Cordialement

C’est ce que j’ai fait sur le beta.
Les dernières version de php 7 remonte ce type d’erreur, pas avant. Et à l’avenir çà ne marchera plus donc il faut les corriger.

Si tu confirme sur qql jours qu’il n’y pas d’erreur, je pousserai en stable.
Merci

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