GavickPro / Weather

4 stars 9 forks source link

Fatal error in attributes function #14

Closed teitbite closed 11 years ago

teitbite commented 11 years ago

From time to time there is an error visible:

Fatal error: Call to a member function attributes() on a non-object in /home/targatosa/public_html/modules/mod_weather_gk4/helper.php on line 377

http://www.valledelsamoggia.com/

ftp://ftp.valledelsamoggia.com gavick@valledelsamoggia.com Gavick123

Reported twice: https://www.gavick.com/forums/viewtopic.php?f=20&t=27084

bkrztuk commented 11 years ago

Looks like the problem is related with temporary feed unavailable but I'll look at this closer when on GK5 version, the cache is enabled ?

teitbite commented 11 years ago

I've asked user for an access to joomla panel. Will let You know when He sends it.

teitbite commented 11 years ago

Ok. Got an access:

www.valledelsamoggia.com User: gavick Password: gavick.

bkrztuk commented 11 years ago

@teitbite user have 5 weather modules on one site with cache set to 5 minutes and probably just yahoo feed is not responding in correct time and he get parsing error. Please advise to set bigger cache amount for 30 minutes and the best idea is to set different cache time for every module to avoid sending multiple queries in the same time.