Error message

Notice: Trying to get property of non-object in ha_weather_landing() (line 47 of /var/www/vhosts/innatriverwalk.com/httpdocs/sites/all/modules/ha_weather/ha_weather.module).