Why am I getting these notices? I haven't before. Undefined offset / index for a custom calendar class. |
[eluser]Kinsbane[/eluser]
[quote author="pistolPete" date="1237258422"]Did you remove some comment at the beginning of the file? I don't see any array in line 169 or 345...[/quote] No, I didn't. Line #169 of the DCCalendar.php file is contained within the get_events_in_week() function, specifically within a while loop: Code: #168. while($date < $enddate) {
[eluser]Kinsbane[/eluser]
Sorry pistolPete if you missed my link for the class txt file. Here it is: http://www.kinsbane.net/temp/ci-class.dccalendar.txt I guess CI forums don't auto-link?
[eluser]Kinsbane[/eluser]
Hoping you guys can still help out. Any way to get around the undefined offset errors? Do I have to set the timestamp key up as a string rather than as a number? |
Welcome Guest, Not a member yet? Register Sign In |