Hello

We had other problems with weathermap, I could resolve it with uncomment the following lines in the poller:

 if (is_file("../../includes/sql-config.inc.php")) {
54         // For new versions
55         include("../../includes/sql-config.inc.php");
56 } else {
57         include("../../includes/defaults.inc.php");
58         include("../../config.php");
59 #       include("../../includes/functions.inc.php");
60 #       include("../../includes/definitions.inc.php");
61 }

at the moment I think is working, the time will show me :-). I didn't test weathermap at all.

Regards

Walter

Am 12.06.23 um 17:04 schrieb Edvinas Kairys via observium:
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