Weathermap update

i updated the weather map i can’t seem to get it working now.

getting these errors

PHP Deprecated: Function strftime() is deprecated in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 3287
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: Implicit conversion from float 302.25 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: Implicit conversion from float 318.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: imagefilledpolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1930
PHP Deprecated: imagepolygon(): Using the $num_points parameter is deprecated in /opt/librenms/html/plugins/Weathermap/lib/WeatherMap.functions.php on line 1910
PHP Deprecated: Implicit conversion from float 386.75 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: Implicit conversion from float 248.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/Weathermap.class.php on line 506
PHP Deprecated: Implicit conversion from float 403.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/WeatherMapNode.class.php on line 719
PHP Deprecated: Implicit conversion from float 194.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/WeatherMapNode.class.php on line 719
PHP Deprecated: Implicit conversion from float 227.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/WeatherMapNode.class.php on line 719
PHP Deprecated: Implicit conversion from float 334.5 to int loses precision in /opt/librenms/html/plugins/Weathermap/lib/WeatherMapNode.class.php on line 719
Feature Statistics:

                                          GLOBAL-BACKGROUND\s+(.*) => 0
                                      GLOBAL-HTMLOUTPUTFILE\s+(.*) => 1
                                      GLOBAL-HTMLSTYLESHEET\s+(.*) => 0
                                     GLOBAL-IMAGEOUTPUTFILE\s+(.*) => 1
                                      GLOBAL-DATAOUTPUTFILE\s+(.*) => 0
                                            GLOBAL-IMAGEURI\s+(.*) => 0
                                               GLOBAL-TITLE\s+(.*) => 0
                               GLOBAL-HTMLSTYLE\s+(static|overlib) => 0
                                            GLOBAL-KEYFONT\s+(\d+) => 0
                                          GLOBAL-TITLEFONT\s+(\d+) => 0
                                           GLOBAL-TIMEFONT\s+(\d+) => 0
                               GLOBAL-TITLEPOS\s+(-?\d+)\s+(-?\d+) => 0
                        GLOBAL-TITLEPOS\s+(-?\d+)\s+(-?\d+)\s+(.*) => 0
                                GLOBAL-TIMEPOS\s+(-?\d+)\s+(-?\d+) => 0
                         GLOBAL-TIMEPOS\s+(-?\d+)\s+(-?\d+)\s+(.*) => 0
                             GLOBAL-MINTIMEPOS\s+(-?\d+)\s+(-?\d+) => 0
                      GLOBAL-MINTIMEPOS\s+(-?\d+)\s+(-?\d+)\s+(.*) => 0
                             GLOBAL-MAXTIMEPOS\s+(-?\d+)\s+(-?\d+) => 0
                      GLOBAL-MAXTIMEPOS\s+(-?\d+)\s+(-?\d+)\s+(.*) => 0
                                              GLOBAL-WIDTH\s+(\d+) => 0
                                             GLOBAL-HEIGHT\s+(\d+) => 0
         NODE-(MAXVALUE)\s+(\d+\.?\d*[KMGT]?)\s+(\d+\.?\d*[KMGT]?) => 0
                              NODE-(MAXVALUE)\s+(\d+\.?\d*[KMGT]?) => 1
                                                        NODE-LABEL => 0
                                                 NODE-LABEL\s+(.*) => 2
                        NODE-LABELOFFSET\s+([-+]?\d+)\s+([-+]?\d+) => 0
                        NODE-LABELOFFSET\s+(C|NE|SE|NW|SW|N|S|E|W) => 0
                   NODE-LABELOFFSET\s+((C|NE|SE|NW|SW|N|S|E|W)\d+) => 0
                                    NODE-LABELOFFSET\s+(-?\d+r\d+) => 0
                                            NODE-LABELFONT\s+(\d+) => 0
                                  NODE-LABELANGLE\s+(0|90|180|270) => 0
                                                 NODE-ICON\s+(\S+) => 2

NODE-ICON\s+(\d+)\s+(\d+)\s+(inpie|outpie|box|rbox|round|gauge|nink) => 0
NODE-ICON\s+(\d+)\s+(\d+)\s+(\S+) => 0
NODE-NOTES\s+(.) => 0
NODE-INFOURL\s+(.
) => 2
NODE-OVERLIBCAPTION\s+(.) => 0
NODE-ZORDER\s+([-+]?\d+) => 0
NODE-OVERLIBWIDTH\s+(\d+) => 0
NODE-OVERLIBHEIGHT\s+(\d+) => 0
NODE-POSITION\s+([-+]?\d+)\s+([-+]?\d+) => 2
NODE-POSITION\s+(\S+)\s+([-+]?\d+)\s+([-+]?\d+) => 0
NODE-POSITION\s+(\S+)\s+([-+]?\d+)r(\d+) => 0
LINK-(MAXVALUE|BANDWIDTH)\s+(\d+.?\d
[KMGT]?)\s+(\d+.?\d*[KMGT]?) => 0
LINK-(MAXVALUE|BANDWIDTH)\s+(\d+.?\d*[KMGT]?) => 1
LINK-WIDTH\s+(\d+) => 0
LINK-HEIGHT\s+(\d+) => 0
LINK-WIDTH\s+(\d+.\d+) => 0
LINK-ARROWSTYLE\s+(classic|compact) => 0
LINK-VIASTYLE\s+(curved|angled) => 0
LINK-INCOMMENT\s+(.) => 0
LINK-OUTCOMMENT\s+(.
) => 0
LINK-BWFONT\s+(\d+) => 0
LINK-COMMENTFONT\s+(\d+) => 0
LINK-COMMENTSTYLE\s+(edge|center) => 0
LINK-DUPLEX\s+(full|half) => 0
LINK-BWSTYLE\s+(classic|angled) => 0
LINK-LINKSTYLE\s+(twoway|oneway) => 0
LINK-BWLABELPOS\s+(\d+)\s(\d+) => 0
LINK-COMMENTPOS\s+(\d+)\s(\d+) => 0
LINK-USESCALE\s+([A-Za-z][A-Za-z0-9_]) => 0
LINK-USESCALE\s+([A-Za-z][A-Za-z0-9_]
)\s+(absolute|percent) => 0
LINK-SPLITPOS\s+(\d+) => 0
LINK-OUTBWFORMAT\s+(.) => 0
LINK-INBWFORMAT\s+(.
) => 0
LINK-NOTES\s+(.) => 0
LINK-INNOTES\s+(.
) => 0
LINK-OUTNOTES\s+(.) => 0
LINK-INFOURL\s+(.
) => 1
LINK-ININFOURL\s+(.) => 0
LINK-OUTINFOURL\s+(.
) => 0
LINK-OVERLIBCAPTION\s+(.) => 0
LINK-INOVERLIBCAPTION\s+(.
) => 0
LINK-OUTOVERLIBCAPTION\s+(.*) => 0
LINK-ZORDER\s+([-+]?\d+) => 0
LINK-OVERLIBWIDTH\s+(\d+) => 0
LINK-OVERLIBHEIGHT\s+(\d+) => 0

Hi, what is your php version?

i’m on PHP 8.1.10.

also weather map is up to date

[[email protected] Weathermap]# git log | head
commit 697ac3cdb517aedc81d3b0b2e9ae5582234dca54
Merge: 018334a aae81d0
Author: Neil Lathwood [email protected]
Date: Mon Aug 22 20:44:47 2022 +0100

Merge pull request #82 from LoveSkylark/master

Multiple fixes

commit aae81d08d94b314915ff302c922daaf0505077bb

Do you have other errors than deprecated ones?
Can you try this fork and see if it is better? GitHub - fbouynot/Weathermap

i this was my issue

the map-poller.php needs the shebang #!/usr/bin/env php in order to be executed correctly by cron.