By Tony Boutemeur on Saturday, 13 April 2019
Posted in Technical Issues
Replies 5
Likes 0
Views 483
Votes 0
Hi,

Today, I bought Easysocial yahoo weather module but it seems outdated with Yahoo app... ADDRESS in easysocial profile is always 'ADDRESS'.

Could you fix it?

Thank you
Hey there,

I am really sorry for the delay of this reply as it is a weekend for us here.

May I know do you have set the default address from the module setting?

If yes, it will not respect the address unique key because the weather module only check for that default address as what you set from the module.

Can you try temporary remove that default address field value and see the issue still persists?

If the issue still persists, can you update your correct site backend and FTP access so we can better have a check?
·
Sunday, 14 April 2019 10:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

No problem.

In reply to your question, if I set a default address or not, this is the same result: nothing.

Why I think there is a trouble with yahoo?

Here https://developer.yahoo.com/weather/

Important EOL Notice: As of Thursday, Jan. 3, 2019, the weather.yahooapis.com and query.yahooapis.com for Yahoo Weather API will be retired.
To continue using our free Yahoo Weather APIs, use https://weather-ydn-yql.media.yahoo.com/forecastrss. Follow below instructions to get credentials and onboard to this free Yahoo Weather API service.


In Easysocial Weather there is

const YAHOO_API_WEATHER_URL = 'http://query.yahooapis.com/v1/public/yql?q=';


Please take a look to error_log file:


[14-Apr-2019 07:25:23 UTC] PHP Notice: Trying to get property 'query' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 100
[14-Apr-2019 07:25:23 UTC] PHP Notice: Trying to get property 'results' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 100
[14-Apr-2019 07:25:23 UTC] PHP Notice: Trying to get property 'channel' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 100
[14-Apr-2019 07:25:23 UTC] PHP Notice: Trying to get property 'item' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 100
[14-Apr-2019 07:25:23 UTC] PHP Warning: Invalid argument supplied for foreach() in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 100
[14-Apr-2019 07:25:23 UTC] PHP Warning: array_shift() expects parameter 1 to be array, null given in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 111
[14-Apr-2019 07:25:23 UTC] PHP Notice: Undefined property: Weather::$title in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 114
[14-Apr-2019 07:25:23 UTC] PHP Notice: Undefined offset: 2 in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 117
[14-Apr-2019 07:25:23 UTC] PHP Notice: Undefined offset: 2 in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 118
[14-Apr-2019 07:25:23 UTC] PHP Notice: Trying to get property 'query' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 122
[14-Apr-2019 07:25:23 UTC] PHP Notice: Trying to get property 'results' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 122
[14-Apr-2019 07:25:23 UTC] PHP Notice: Trying to get property 'channel' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 122
[14-Apr-2019 07:25:23 UTC] PHP Notice: Trying to get property 'wind' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 122
[14-Apr-2019 07:25:23 UTC] PHP Notice: Trying to get property 'query' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 125
[14-Apr-2019 07:25:23 UTC] PHP Notice: Trying to get property 'results' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 125
[14-Apr-2019 07:25:23 UTC] PHP Notice: Trying to get property 'channel' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 125
[14-Apr-2019 07:25:23 UTC] PHP Notice: Trying to get property 'astronomy' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 125
[14-Apr-2019 07:25:23 UTC] PHP Notice: Trying to get property 'query' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 128
[14-Apr-2019 07:25:23 UTC] PHP Notice: Trying to get property 'results' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 128
[14-Apr-2019 07:25:23 UTC] PHP Notice: Trying to get property 'channel' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 128
[14-Apr-2019 07:25:23 UTC] PHP Notice: Trying to get property 'units' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 128
[14-Apr-2019 07:25:23 UTC] PHP Notice: Trying to get property 'query' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 131
[14-Apr-2019 07:25:23 UTC] PHP Notice: Trying to get property 'results' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 131
[14-Apr-2019 07:25:23 UTC] PHP Notice: Trying to get property 'channel' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 131
[14-Apr-2019 07:25:23 UTC] PHP Notice: Trying to get property 'image' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 131
[14-Apr-2019 07:25:23 UTC] PHP Notice: Undefined property: Weather::$condition in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 134
[14-Apr-2019 07:25:23 UTC] PHP Notice: Undefined property: Weather::$condition in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 135
[14-Apr-2019 07:25:23 UTC] PHP Notice: Trying to get property 'code' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 135
[14-Apr-2019 07:25:23 UTC] PHP Notice: Undefined index: in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 135
[14-Apr-2019 07:25:23 UTC] PHP Warning: Creating default object from empty value in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 135
[14-Apr-2019 07:25:23 UTC] PHP Notice: Undefined property: Weather::$condition in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 136
[14-Apr-2019 07:25:23 UTC] PHP Notice: Trying to get property 'temp' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 136
[14-Apr-2019 07:25:23 UTC] PHP Notice: Trying to get property 'temperature' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 136
[14-Apr-2019 07:25:23 UTC] PHP Warning: Invalid argument supplied for foreach() in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 138
[14-Apr-2019 07:26:00 UTC] PHP Notice: Trying to get property 'query' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 100
[14-Apr-2019 07:26:00 UTC] PHP Notice: Trying to get property 'results' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 100
[14-Apr-2019 07:26:00 UTC] PHP Notice: Trying to get property 'channel' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 100
[14-Apr-2019 07:26:00 UTC] PHP Notice: Trying to get property 'item' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 100
[14-Apr-2019 07:26:00 UTC] PHP Warning: Invalid argument supplied for foreach() in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 100
[14-Apr-2019 07:26:00 UTC] PHP Warning: array_shift() expects parameter 1 to be array, null given in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 111
[14-Apr-2019 07:26:00 UTC] PHP Notice: Undefined property: Weather::$title in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 114
[14-Apr-2019 07:26:00 UTC] PHP Notice: Undefined offset: 2 in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 117
[14-Apr-2019 07:26:00 UTC] PHP Notice: Undefined offset: 2 in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 118
[14-Apr-2019 07:26:00 UTC] PHP Notice: Trying to get property 'query' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 122
[14-Apr-2019 07:26:00 UTC] PHP Notice: Trying to get property 'results' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 122
[14-Apr-2019 07:26:00 UTC] PHP Notice: Trying to get property 'channel' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 122
[14-Apr-2019 07:26:00 UTC] PHP Notice: Trying to get property 'wind' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 122
[14-Apr-2019 07:26:00 UTC] PHP Notice: Trying to get property 'query' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 125
[14-Apr-2019 07:26:00 UTC] PHP Notice: Trying to get property 'results' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 125
[14-Apr-2019 07:26:00 UTC] PHP Notice: Trying to get property 'channel' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 125
[14-Apr-2019 07:26:00 UTC] PHP Notice: Trying to get property 'astronomy' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 125
[14-Apr-2019 07:26:00 UTC] PHP Notice: Trying to get property 'query' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 128
[14-Apr-2019 07:26:00 UTC] PHP Notice: Trying to get property 'results' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 128
[14-Apr-2019 07:26:00 UTC] PHP Notice: Trying to get property 'channel' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 128
[14-Apr-2019 07:26:00 UTC] PHP Notice: Trying to get property 'units' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 128
[14-Apr-2019 07:26:00 UTC] PHP Notice: Trying to get property 'query' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 131
[14-Apr-2019 07:26:00 UTC] PHP Notice: Trying to get property 'results' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 131
[14-Apr-2019 07:26:00 UTC] PHP Notice: Trying to get property 'channel' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 131
[14-Apr-2019 07:26:00 UTC] PHP Notice: Trying to get property 'image' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 131
[14-Apr-2019 07:26:00 UTC] PHP Notice: Undefined property: Weather::$condition in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 134
[14-Apr-2019 07:26:00 UTC] PHP Notice: Undefined property: Weather::$condition in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 135
[14-Apr-2019 07:26:00 UTC] PHP Notice: Trying to get property 'code' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 135
[14-Apr-2019 07:26:00 UTC] PHP Notice: Undefined index: in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 135
[14-Apr-2019 07:26:00 UTC] PHP Warning: Creating default object from empty value in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 135
[14-Apr-2019 07:26:00 UTC] PHP Notice: Undefined property: Weather::$condition in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 136
[14-Apr-2019 07:26:00 UTC] PHP Notice: Trying to get property 'temp' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 136
[14-Apr-2019 07:26:00 UTC] PHP Notice: Trying to get property 'temperature' of non-object in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 136
[14-Apr-2019 07:26:00 UTC] PHP Warning: Invalid argument supplied for foreach() in ~/my.website.com/modules/mod_easysocial_weather/ajax.php on line 138
·
Sunday, 14 April 2019 15:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank for your info Tony, it seems like we have to update this weather module to support their new API https://developer.yahoo.com/weather/documentation.html#oauth-php , because now they required user to create an app and whitelist your current app as well in order to use the weather API if I am not understand this wrongly.

For now, I will log this into issue tracker.
·
Monday, 15 April 2019 11:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you Arlex
·
Monday, 15 April 2019 15:27
·
0 Likes
·
0 Votes
·
0 Comments
·
You're most welcome Tony.
·
Monday, 15 April 2019 15:48
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post