Bonjour à tous,
J’ai des erreurs dans plusieurs plugins dont la cause semble être un « bidule » nommé axios.
Les plugins affectés sont les suivants :
- homebridge
- mqtt2
- MQTTDiscovery
- networks
Voici les logs concernés :
homebridge_daemon (137399 lignes donc je ne peux tout mettre - J’espère que l’essentiel est là)
137024|AxiosError: Request failed with status code 500
137025|at settle (/var/www/html/plugins/homebridge/resources/node_modules/homebridge-jeedom/node_modules/axios/lib/core/settle.js:19:12)
137026|at IncomingMessage.handleStreamEnd (/var/www/html/plugins/homebridge/resources/node_modules/homebridge-jeedom/node_modules/axios/lib/adapters/http.js:599:11)
137030|at Axios.request (/var/www/html/plugins/homebridge/resources/node_modules/homebridge-jeedom/node_modules/axios/lib/core/Axios.js:45:41)
137032|[19/09/2024 06:12:43] [jeedomvm_Repaired_16] ERROR Erreur de récupération des évènements de mise à jour: AxiosError: Request failed with status code 500
137033|at settle (/var/www/html/plugins/homebridge/resources/node_modules/homebridge-jeedom/node_modules/axios/lib/core/settle.js:19:12)
137034|at IncomingMessage.handleStreamEnd (/var/www/html/plugins/homebridge/resources/node_modules/homebridge-jeedom/node_modules/axios/lib/adapters/http.js:599:11)
137038|at Axios.request (/var/www/html/plugins/homebridge/resources/node_modules/homebridge-jeedom/node_modules/axios/lib/core/Axios.js:45:41)
137057|headers: Object [AxiosHeaders] {
137060|'User-Agent': 'axios/1.7.7',
137172|'User-Agent: axios/1.7.7\r\n' +
137287|headers: Object [AxiosHeaders] {
137316|headers: [Object [AxiosHeaders]],
137351|'User-Agent: axios/1.7.7\r\n' +
137392|AxiosError: Request failed with status code 500
mqtt2 (l’erreur de la 2ème ligne se répète 119 fois)
[mqtt2d.txt|attachment](upload://xrKN6m5KJ6aSYdRX1GYFUK7CcRa.txt) (2,9 Mo)
MQTTDiscovery_daemon
0038|[2024-09-19 06:12:42] ERROR : Error on send request to jeedom, return 500-Internal Server Error
networks
0000|[2024-09-19 06:12:23] ERROR : Erreur sur networks::update() : SQLSTATE[HY000] [2002] No such file or directory
http.error (j’ai enlevé les lignes répétives)
[19-Sep-2024 00:05:59 Europe/Brussels] PHP Warning: Declaration of alexafiretvCmd::getWidgetTemplateCode($_version = 'dashboard', $_noCustom = false) should be compatible with cmd::getWidgetTemplateCode($_version = 'dashboard', $_clean = true, $_widgetName = '') in /var/www/html/plugins/alexafiretv/core/class/alexafiretv.class.php on line 990
[Thu Sep 19 00:06:01.095778 2024] [php7:warn] [pid 283109:tid 283109] [client 192.168.0.111:54538] PHP Warning: Declaration of alexafiretvCmd::getWidgetTemplateCode($_version = 'dashboard', $_noCustom = false) should be compatible with cmd::getWidgetTemplateCode($_version = 'dashboard', $_clean = true, $_widgetName = '') in /var/www/html/plugins/alexafiretv/core/class/alexafiretv.class.php on line 990
[Thu Sep 19 01:35:45.718426 2024] [php7:notice] [pid 338694:tid 338694] [client 127.0.0.1:39850] PHP Notice: Undefined index: origin in /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php on line 508
[Thu Sep 19 01:35:45.725831 2024] [php7:notice] [pid 338694:tid 338694] [client 127.0.0.1:39850] PHP Notice: Trying to access array offset on value of type null in /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php on line 508
[Thu Sep 19 01:36:28.585158 2024] [php7:notice] [pid 339708:tid 339708] [client 127.0.0.1:59944] PHP Notice: Undefined index: 132-0-wakeUpInterval in /var/www/html/plugins/zwavejs/core/class/zwavejs.class.php on line 621
[Thu Sep 19 01:54:04.440827 2024] [php7:warn] [pid 283187:tid 283187] [client 192.168.0.111:61888] PHP Warning: Declaration of alexafiretvCmd::getWidgetTemplateCode($_version = 'dashboard', $_noCustom = false) should be compatible with cmd::getWidgetTemplateCode($_version = 'dashboard', $_clean = true, $_widgetName = '') in /var/www/html/plugins/alexafiretv/core/class/alexafiretv.class.php on line 990
[Thu Sep 19 01:56:09.446407 2024] [php7:warn] [pid 283109:tid 283109] [client 192.168.0.111:62069] PHP Warning: Declaration of alexafiretvCmd::getWidgetTemplateCode($_version = 'dashboard', $_noCustom = false) should be compatible with cmd::getWidgetTemplateCode($_version = 'dashboard', $_clean = true, $_widgetName = '') in /var/www/html/plugins/alexafiretv/core/class/alexafiretv.class.php on line 990
[Thu Sep 19 02:03:40.329084 2024] [php7:warn] [pid 339808:tid 339808] [client 127.0.0.1:58260] PHP Warning: Declaration of alexafiretvCmd::getWidgetTemplateCode($_version = 'dashboard', $_noCustom = false) should be compatible with cmd::getWidgetTemplateCode($_version = 'dashboard', $_clean = true, $_widgetName = '') in /var/www/html/plugins/alexafiretv/core/class/alexafiretv.class.php on line 990
[Thu Sep 19 06:11:59.680622 2024] [php7:notice] [pid 282991:tid 282991] [client 192.168.0.129:52368] PHP Notice: Trying to access array offset on value of type null in /var/www/html/core/class/jsonrpc.class.php on line 42
[Thu Sep 19 06:12:00.222366 2024] [php7:error] [pid 338694:tid 338694] [client 192.168.0.129:40456] PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] No such file or directory in /var/www/html/core/class/DB.class.php:48\nStack trace:\n#0 /var/www/html/core/class/DB.class.php(48): PDO->__construct()\n#1 /var/www/html/core/class/DB.class.php(59): DB::initConnection()\n#2 /var/www/html/core/class/DB.class.php(91): DB::getConnection()\n#3 /var/www/html/core/class/config.class.php(192): DB::Prepare()\n#4 /var/www/html/core/class/translate.class.php(51): config::byKeys()\n#5 /var/www/html/core/class/translate.class.php(207): translate::getConfig()\n#6 /var/www/html/core/class/translate.class.php(102): translate::getLanguage()\n#7 /var/www/html/core/class/translate.class.php(81): translate::exec()\n#8 /var/www/html/core/class/translate.class.php(220): translate::sentence()\n#9 /var/www/html/core/config/jeedom.config.php(23): __()\n#10 /var/www/html/core/php/utils.inc.php(84): require_once('/var/www/html/c...')\n#11 /var/www/html/core/php/core.inc.php(27): include_file()\n#12 /var/www/html/core/api/jeeApi.php(21): require_once('/var in /var/www/html/core/class/DB.class.php on line 48
[Thu Sep 19 06:12:00.244326 2024] [php7:error] [pid 283109:tid 283109] [client 127.0.0.1:59514] PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] No such file or directory in /var/www/html/core/class/DB.class.php:48\nStack trace:\n#0 /var/www/html/core/class/DB.class.php(48): PDO->__construct()\n#1 /var/www/html/core/class/DB.class.php(59): DB::initConnection()\n#2 /var/www/html/core/class/DB.class.php(91): DB::getConnection()\n#3 /var/www/html/core/class/config.class.php(192): DB::Prepare()\n#4 /var/www/html/core/class/translate.class.php(51): config::byKeys()\n#5 /var/www/html/core/class/translate.class.php(207): translate::getConfig()\n#6 /var/www/html/core/class/translate.class.php(102): translate::getLanguage()\n#7 /var/www/html/core/class/translate.class.php(81): translate::exec()\n#8 /var/www/html/core/class/translate.class.php(220): translate::sentence()\n#9 /var/www/html/core/config/jeedom.config.php(23): __()\n#10 /var/www/html/core/php/utils.inc.php(84): require_once('/var/www/html/c...')\n#11 /var/www/html/core/php/core.inc.php(27): include_file()\n#12 /var/www/html/plugins/mqtt2/core/php/jeeMqtt2.php(18): re in /var/www/html/core/class/DB.class.php on line 48