The error continues
Warning: Invalid argument supplied for foreach() in /var/www/vhosts/meteotorrelavega.com/httpdocs/weather28/forecasts/yahooForecast2.php on line 62
I have no idea how this works at your site.
When I check the script at your site:
http://www.meteotorrelavega.com/weather28/forecasts/yahoo.weather2.php?sce=view it uses the new https link
https://query.yahooapis.com/v1/public/yql?q=select+%2A+from+weather.forecast+where+woeid%3D/
When I check the html generated from this script
http://www.meteotorrelavega.com/weather28/index.php?p=yahooForecast2&lang=es&force=yahoo&ipad it is from the
old version running with a different url
<!-- module yahooForecast2.php (38): loading yahoo.weather2.php -->
<!-- module yahoo.weather2.php ==== version: 3.21 2016-03-28 -->
<!-- module yahoo.weather2.php - getWeatherData (95) Load from cache skipped as force was used -->
<!-- module yahoo.weather2.php - useCurl (300) (http://weather.yahooapis.com/forecastrss?w=4532085&u=c) loading with CURL -->
<!-- module yahoo.weather2.php - useCurl (303): loading yahoo_curl.php -->
<!-- module yahoo_curl.php ==== version: 0.01 2016-03-28 -->
<!-- module yahoo.weather2.php - checkCurlData (322) empty data -->
Checking the line numbers it also loads an old script
yahoo_curl.php which is not used anymore, and it is also not mentioned in the script itself now, check the sce=view above.
So there is nothing I can do as long as the new script is not run.
I have also noticed that in version 28k in: UserSettings.php there is the line: $ SITE ["use_testtags"] = true;
emilio
That setting is inserted during setup for WD and ConsoleWD users only, and it is
falseBelow the code from the settings generator.
if ($wp == 'WD' || $wp == 'CW' ) {
$setting_str .= '#
#---------------------------------------------------------
# COMPATIBILLITY for WeatherDisplay / consoleWD users
# set to true ONLY if it is ABSOLUTELY necessary to use testtags.php from Saratoga or Leuven
#---------------------------------------------------------
$SITE["use_testtags"] = false;
';
}
The only way it can read
true is when someone set it that way manually AFTER the settings where generated..
Wim