Hello,
I'm trying to load the page, but it shows this error:
Parse error: syntax error, unexpected '[' in /storage/ssd4/490/17158490/public_html/core/modules/Weather/Weather.php on line 17
And this is the line 17 of the weather.php file
curl_setopt($ch, CURLOPT_HTTPHEADER, ['X-API-Key: '.WeatherData::$api]);
I've tried to delete the [ but it shows me another error.
Hope you can help me
Regards.