PHP Version 8 Achtung!
Moderator: Ulrich
- Ulrich
- Administrator
- Beiträge: 6320
- Registriert: Sa 7. Nov 2015, 10:33
- Wohnort: Essen
- Hat sich bedankt: 159 Mal
- Danksagung erhalten: 933 Mal
PHP Version 8 Achtung!
Bitte die Solaranzeige noch nicht auf PHP 8.2 erhöhen. Es gibt noch kein funktionierendes PHP-Mosqoitto Modul. Deshalb würde alles, was mit MQTT zu tun hat, nach dem Upgrade auf PHP 8.2 nicht mehr funktionieren. Falls jemand es geschafft hat, das PHP-Mosquitto Modul auf PHP 8.2 zu kompilieren, bitte melden. Ich habe bis jetzt noch kein Erfolg gehabt. Vielleicht gibt es ja einen Trick. Deshalb ist in Bookworm auch noch PHP 7.4 installiert.
-----------------------------------------------------
Ulrich . . . . . . . . [ Admin ]
Ulrich . . . . . . . . [ Admin ]
Re: PHP Version 8 Achtung!
Servus Ulrich,
ist das Problem eventuell noch da ?
Ich habe die aktuelle 6.1 32Bit installiert und bekomme keine MQTT messages, die Fehelrmeldung im php.log ist dazu noch strange, bzw könnten auf Fehler deuten, oder habe ich ein anderes Problem ?
Danke
[14-Oct-2024 14:58:01 Europe/Berlin] PHP Warning: Undefined variable $Prefix in /var/www/html/sonoff_mqtt.php on line 173
[14-Oct-2024 14:58:01 Europe/Berlin] PHP Warning: Undefined variable $TopicPosition in /var/www/html/sonoff_mqtt.php on line 173
[14-Oct-2024 14:58:01 Europe/Berlin] PHP Warning: Undefined variable $Payload in /var/www/html/sonoff_mqtt.php on line 173
[14-Oct-2024 14:58:01 Europe/Berlin] PHP Warning: Undefined variable $TopicPosition in /var/www/html/sonoff_mqtt.php on line 553
[14-Oct-2024 14:58:01 Europe/Berlin] PHP Warning: Undefined variable $Prefix in /var/www/html/sonoff_mqtt.php on line 173
[14-Oct-2024 14:58:01 Europe/Berlin] PHP Warning: Undefined variable $TopicPosition in /var/www/html/sonoff_mqtt.php on line 173
[14-Oct-2024 14:58:01 Europe/Berlin] PHP Warning: Undefined variable $Payload in /var/www/html/sonoff_mqtt.php on line 173
[14-Oct-2024 14:59:01 Europe/Berlin] PHP Warning: Undefined variable $Prefix in /var/www/html/sonoff_mqtt.php on line 173
[14-Oct-2024 14:59:01 Europe/Berlin] PHP Warning: Undefined variable $TopicPosition in /var/www/html/sonoff_mqtt.php on line 173
ist das Problem eventuell noch da ?
Ich habe die aktuelle 6.1 32Bit installiert und bekomme keine MQTT messages, die Fehelrmeldung im php.log ist dazu noch strange, bzw könnten auf Fehler deuten, oder habe ich ein anderes Problem ?
Danke
[14-Oct-2024 14:58:01 Europe/Berlin] PHP Warning: Undefined variable $Prefix in /var/www/html/sonoff_mqtt.php on line 173
[14-Oct-2024 14:58:01 Europe/Berlin] PHP Warning: Undefined variable $TopicPosition in /var/www/html/sonoff_mqtt.php on line 173
[14-Oct-2024 14:58:01 Europe/Berlin] PHP Warning: Undefined variable $Payload in /var/www/html/sonoff_mqtt.php on line 173
[14-Oct-2024 14:58:01 Europe/Berlin] PHP Warning: Undefined variable $TopicPosition in /var/www/html/sonoff_mqtt.php on line 553
[14-Oct-2024 14:58:01 Europe/Berlin] PHP Warning: Undefined variable $Prefix in /var/www/html/sonoff_mqtt.php on line 173
[14-Oct-2024 14:58:01 Europe/Berlin] PHP Warning: Undefined variable $TopicPosition in /var/www/html/sonoff_mqtt.php on line 173
[14-Oct-2024 14:58:01 Europe/Berlin] PHP Warning: Undefined variable $Payload in /var/www/html/sonoff_mqtt.php on line 173
[14-Oct-2024 14:59:01 Europe/Berlin] PHP Warning: Undefined variable $Prefix in /var/www/html/sonoff_mqtt.php on line 173
[14-Oct-2024 14:59:01 Europe/Berlin] PHP Warning: Undefined variable $TopicPosition in /var/www/html/sonoff_mqtt.php on line 173
1.2kW Balkonsolar mit 2 x SUN1000
3kW Gartenanlage mit MPP 5048MGX und 48V LiFePo4
3kW Gartenanlage mit MPP 5048MGX und 48V LiFePo4
- Ulrich
- Administrator
- Beiträge: 6320
- Registriert: Sa 7. Nov 2015, 10:33
- Wohnort: Essen
- Hat sich bedankt: 159 Mal
- Danksagung erhalten: 933 Mal
Re: PHP Version 8 Achtung!
Das Problem ist bei der Image Version 6.1.x nicht mehr vorhanden. In der Zwischenzeit gibt es den Treiber für MQTT-PHP Version 8
Wenn du das auf der Konsole eingibst, sollte kein Fehler mehr ausgegeben werden:
mosquitto_sub -h localhost -v -t +/#
Wenn du das auf der Konsole eingibst, sollte kein Fehler mehr ausgegeben werden:
mosquitto_sub -h localhost -v -t +/#
-----------------------------------------------------
Ulrich . . . . . . . . [ Admin ]
Ulrich . . . . . . . . [ Admin ]
Re: PHP Version 8 Achtung!
danke Dir, ich bin erstmal zum testen auf die 5.4 zurück, dann schauen wir mal.
1.2kW Balkonsolar mit 2 x SUN1000
3kW Gartenanlage mit MPP 5048MGX und 48V LiFePo4
3kW Gartenanlage mit MPP 5048MGX und 48V LiFePo4
Wer ist online?
Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast