Posted by shunshifu on February 20, 2009 at 6:15pm
| Project: | iCal feed parser |
| Version: | 6.x-1.0 |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
I am getting this error on map or refresh
Invalid argument supplied for foreach() in /home/scooters/public_html/sites/all/modules/parser_ical/parser_ical.module on line 94.
Any ideas?
Thanks
Phil
Comments
#1
Did you enter the title for the feed or did it get detected automatically?
My guess here is that there is an HTTP error on collecting the feed and the parser is incorrectly ploughing on ahead anyway (I have some imperfect solutions for this). If the feed title was detected, what's the URL of the feed?
#2
And this is the idea to make it a bit clearer when things are failing as feeds aren't collected, or don't have events. Testing welcome.
#3
marked #473734: Check feed array before trying to parse to prevent PHP errors as a dupe of this, just need to say when it's not there.