Arduino R4 wifi sketch is not compiling

I've re-created the errors, here is the error report:

In file included from /run/arduino/sketches/Weather_Report_aug21b/Weather_Report_aug21b.ino:5:0:
/run/arduino/sketches/Weather_Report_aug21b/thingProperties.h:6:25: error: 'SECRET_SSID' was not declared in this scope
 const char SSID[]     = SECRET_SSID;    // Network SSID (name)
                         ^~~~~~~~~~~
/run/arduino/sketches/Weather_Report_aug21b/thingProperties.h:6:25: note: suggested alternative: '_GETSSID'
 const char SSID[]     = SECRET_SSID;    // Network SSID (name)
                         ^~~~~~~~~~~
                         _GETSSID
/run/arduino/sketches/Weather_Report_aug21b/thingProperties.h:7:25: error: 'SECRET_OPTIONAL_PASS' was not declared in this scope
 const char PASS[]     = SECRET_OPTIONAL_PASS;    // Network password (use for WPA, or use as key for WEP)
                         ^~~~~~~~~~~~~~~~~~~~
/run/arduino/sketches/Weather_Report_aug21b/Weather_Report_aug21b.ino: In function 'void onLatitudeChange()':
/run/arduino/sketches/Weather_Report_aug21b/Weather_Report_aug21b.ino:112:6: error: redefinition of 'void onLatitudeChange()'
 void onLatitudeChange()  {
      ^~~~~~~~~~~~~~~~
/run/arduino/sketches/Weather_Report_aug21b/Weather_Report_aug21b.ino:95:6: note: 'void onLatitudeChange()' previously defined here
 void onLatitudeChange(){
      ^~~~~~~~~~~~~~~~
/run/arduino/sketches/Weather_Report_aug21b/Weather_Report_aug21b.ino: In function 'void onLongitudeChange()':
/run/arduino/sketches/Weather_Report_aug21b/Weather_Report_aug21b.ino:119:6: error: redefinition of 'void onLongitudeChange()'
 void onLongitudeChange()  {
      ^~~~~~~~~~~~~~~~~
/run/arduino/sketches/Weather_Report_aug21b/Weather_Report_aug21b.ino:90:6: note: 'void onLongitudeChange()' previously defined here
 void onLongitudeChange(){
      ^~~~~~~~~~~~~~~~~
Multiple libraries were found for "RTC.h"
  Used: /run/arduino/directories-data/packages/arduino/hardware/renesas_uno/1.5.0/libraries/RTC
  Not used: /run/arduino/directories-data/internal/M5Core2_0.2.0_b8c417594bcb0714
  Not used: /run/arduino/directories-data/internal/M5StickC_0.3.0_a99c11f2c0b70886
  Not used: /run/arduino/directories-data/internal/M5Station_0.0.1_59c962b74b2e5439
  Not used: /run/arduino/directories-data/internal/M5StickCPlus_0.1.1_3da481354d8492d0
Multiple libraries were found for "ArduinoJson.h"
  Used: /run/arduino/directories-data/internal/ArduinoJson_7.4.2_b2ca4093156386e8
  Not used: /run/arduino/directories-data/internal/ThingsIoT_1.2.0_edc19382eb41a2f2
  Not used: /run/arduino/directories-data/internal/Antares_ESP8266_HTTP_1.3.3_e986087bedd31584
  Not used: /run/arduino/directories-data/internal/ThingESP_1.3.0_208e658d67936be5
  Not used: /run/arduino/directories-data/internal/Antares_ESP8266_MQTT_0.9.2_1274de5a8b70ade9
  Not used: /run/arduino/directories-data/internal/CMMC_MQTT_Connector_1.3.3_dcef02afc5e24717
  Not used: /run/arduino/directories-data/internal/IOTKME_3.0.1_7d34512d830e21de
  Not used: /run/arduino/directories-data/internal/BaleMessengerBot_Arduino_0.1.0_1c24e4f4119896e7
  Not used: /run/arduino/directories-data/internal/CoogleIOT_1.3.1_313ac29f75180276
  Not used: /run/arduino/directories-data/internal/AllThingsTalk_LTE-M_SDK_2.0.4_dc42d2d7f4bad257