Bonjour,
J’ai une erreur récurrente dans http.error qui m’empêche de configurer l’équipement dans le plugin onduleur Fronius, j’ai testé le même plugin du même auteur @sattaz, onduleur SMA, et l’erreur est la meme.
[22-Mar-2020 11:22:53 Europe/Brussels] PHP Warning: Use of undefined constant fronius - assumed 'fronius' (this will throw an Error in a future version of PHP) in /var/www/html/plugins/fronius/desktop/php/fronius.php on line 157
[22-Mar-2020 11:22:53 Europe/Brussels] PHP Warning: Use of undefined constant fronius - assumed 'fronius' (this will throw an Error in a future version of PHP) in /var/www/html/plugins/fronius/desktop/php/fronius.php on line 157
[22-Mar-2020 11:31:44 Europe/Brussels] PHP Warning: Use of undefined constant SMA_SunnyBoy - assumed 'SMA_SunnyBoy' (this will throw an Error in a future version of PHP) in /var/www/html/plugins/SMA_SunnyBoy/desktop/php/SMA_SunnyBoy.php on line 161
[22-Mar-2020 11:31:44 Europe/Brussels] PHP Warning: Use of undefined constant SMA_SunnyBoy - assumed 'SMA_SunnyBoy' (this will throw an Error in a future version of PHP) in /var/www/html/plugins/SMA_SunnyBoy/desktop/php/SMA_SunnyBoy.php on line 161
[22-Mar-2020 11:31:51 Europe/Brussels] PHP Warning: Use of undefined constant SMA_SunnyBoy - assumed 'SMA_SunnyBoy' (this will throw an Error in a future version of PHP) in /var/www/html/plugins/SMA_SunnyBoy/desktop/php/SMA_SunnyBoy.php on line 161
[22-Mar-2020 11:31:51 Europe/Brussels] PHP Warning: Use of undefined constant SMA_SunnyBoy - assumed 'SMA_SunnyBoy' (this will throw an Error in a future version of PHP) in /var/www/html/plugins/SMA_SunnyBoy/desktop/php/SMA_SunnyBoy.php on line 161
J’arrive bien a créer l’equipement, mais la page reste vide lorsque je clique sur l’équipement créé.
Je suis sous PHP 7.3 avec Jeedom v4.0.45. J’imagine que l’erreur est liée a php 7.3 mais je n’arrive pas a trouver comment la corriger:
La ligne de code qui semble poser probleme est :
<?php include_file('desktop', fronius, 'js', fronius);?>
Si @Sattaz passe par la ou si quelqu’un a une piste a me donner pour adapter le plugin a php7.3/Jeedom 4.
Merci