Hi,
There’s a Jira entry for this. We changed how our includes work.
You need to remove sql-config and include includes/observium.inc.php instead.
You can see how it’s included by looking at the other .php files.
Note that phpweathermap isnt php8 compatible and the code isn’t really safe to use anymore.
Adam.
Sent from my iPhone
On 14 Jun 2023, at 17:05, Edvinas Kairys via observium observium@lists.observium.org wrote:
Hello, at first - sorry for double posting. Recent post seems didn't got through, because of attachment.
I would like to know what modifications was added in the last upgrade, cause our plugin - PHP Weathermap stopped to work, i would like to fix it, so i need some information what was done.
Was anything done regarding PHP versions ? What PHP version is currently recommended by Observium ? Currently we're using PHP version 7.4
Ater 2023-06-08 update we started to experience errors with definitions, like:
11:24:16.583 infra [root@observ001invitx weathermap]# php map-poller.php 11:24:16.621 DEBUG! 11:24:16.821 PHP Fatal error: Uncaught Error: Call to undefined function str_contains() in /opt/observium/includes/common.inc.php:3390 11:24:16.821 Stack trace:..
Any info would be valuable - thanks ! _______________________________________________ observium mailing list -- observium@lists.observium.org To unsubscribe send an email to observium-leave@lists.observium.org