HTML Pages not being automated created in output folder (/opt/librenms/html/plugins/Weathermap/output/)

Hi all.
I am new to all this (linux, libre and weathermap).
I was just wondering if the issue I have could relate to the issues in this thread?

After upgradiing to PHP 8.1 I could not edit any maps, the editor would not work.
I followed “murrant”'s suggestion i the thread:
" WeatherMap editor and php 8.1 : incompatibility?"

I did a git pull. After this the editor started to work. However it does not update/create html files.

What can I do to troubleshoot?

Validation seems fine

$ ./validate.php

Component Version
LibreNMS 22.10.0-44-gd28b1cac3 (2022-10-30T20:18:02+01:00)
DB Schema 2022_08_15_084507_add_rrd_type_to_wireless_sensors_table (248)
PHP 8.1.11
Python 3.8.10
Database MariaDB 10.3.34-MariaDB-0ubuntu0.20.04.1
RRDTool 1.7.2
SNMP 5.8

===========================================

[OK] Composer Version: 2.4.3
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK]
[OK] Database schema correct
[OK] MySQl and PHP time match
[OK] Active pollers found
[OK] Dispatcher Service not detected
[OK] Locks are functional
[OK] Python poller wrapper is polling
[OK] Redis is unavailable
[OK] rrd_dir is writable
[OK] rrdtool version ok

I tried to follow som steps in this thread by running map-poller.php
This is what I got

$ /opt/librenms/html/plugins/Weathermap/map-poller.php
/opt/librenms/html/plugins/Weathermap/map-poller.php: 1: cannot open ?php: No such file
/opt/librenms/html/plugins/Weathermap/map-poller.php: 3: Syntax error: “(” unexpected

So any sugestions would be helpfull.

Thanks.