enricsanz
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by enricsanz
-
-
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.
[ERROR] Error in weather module
in Support Forum
Posted
PHPVMS -> 5.5.2
PHP -> 5.2
MariaDB
and the weather module that comes with the StislaSkin