[EventCalendar] iCal subscriptions fail in 3.1_pre11 if PHP is
configured to show warnings
John Yeates
eventcalendar at westernsussexcamra.org.uk
Sun Jul 30 12:12:41 UTC 2006
iCal subscriptions fail in 3.1_pre11 if PHP is configured to show
warnings, as it generates warnings about missing parameters when
calling ec3_filter_query_vars and ec3_filter_query_vars_vcal.
As a temporary fix, I tried adding a default to the parameters in the
function definition, thus:
function ec3_filter_query_vars($wpvarstoreset = array())
but, although I now get a .vcs file downloaded, iCal thinks there's
nothing in it, and then starts getting very crashy and unreliable
until the subscription is deleted again.
Possibly defaulting it to an empty array was the wrong thing to do :)
Does anybody know what's going wrong? The offending calendar's at
http://www.westernsussexcamra.org.uk/?ec3_vcal
Thanks
--
JY
More information about the EventCalendar
mailing list