Author |
Message |
webservant
Worker
Joined: Feb 26, 2006
Posts: 206
Location: Springfield, MA
|
Posted:
Tue Nov 25, 2008 5:06 pm |
|
I'm just working on my development site - so not a pressing issue.
I have block-GCalendar.php enabled on the home page, and rather than showing the calendar, it's full of the following error:
Code:Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/xxxxxx/public_html/modules/GCalendar/getMonthlyEvents.php on line 163
|
Line 163 looks like this:
Code: if ($ts >= $startTs && ($noEndDate || $ts <= $endTs) && !in_ar
ray($n, $exceptions[$eventId]))
{
$events[$n][] = array('id' => $eventId, 'title' => $title,
'category' => $category);
}
|
|
_________________ Awaiting His Shout
Webservant - GraciousCall.org
Romans 8:28-39 |
|
|
|
999
Regular
Joined: Sep 12, 2006
Posts: 58
Location: Dsm, IA
|
Posted:
Tue Nov 25, 2008 6:55 pm |
|
Gremmie fixed it, see this thread:
[ Only registered users can see links on this board! Get registered or login! ] |
|
|
|
|
kguske
Site Admin
Joined: Jun 04, 2004
Posts: 6433
|
Posted:
Tue Nov 25, 2008 7:05 pm |
|
|
|
|
webservant
|
Posted:
Tue Nov 25, 2008 7:21 pm |
|
Doh! - Thanks!
Interestingly, I have four themes customized from NukeNews. When I fixed the css, then everything works. However, when I use fisubice theme, I get the error. It's really odd.
I'll try the mod that you posted, and see what effect it has on both themes. |
|
|
|
|
webservant
|
Posted:
Tue Nov 25, 2008 7:37 pm |
|
Well, there are new css entries in fisubice! However, the module update works, and does no harm to my themes. Yeah!
Thanks for the quick reply kguske |
|
|
|
|
montego
Site Admin
Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Thu Nov 27, 2008 8:06 am |
|
|
|
|
webservant
|
Posted:
Thu Nov 27, 2008 8:11 am |
|
|
|
|
blith
Client
Joined: Jul 18, 2003
Posts: 977
|
Posted:
Thu Apr 02, 2009 10:32 am |
|
montego wrote: | I have taken Gremmie's fix and applied it to the next patch release of RN. |
I have RN 2.3.01 and it was still throwing that error. I uploaded the fix and it works now. |
|
|
|
|
montego
|
Posted:
Fri Apr 03, 2009 7:22 am |
|
blith, RN 2.3.01 was cut in Oct, 2008, so my comment still stands. I just checked our code repository and I had checked that code fix in on 11/27/2008. |
|
|
|
|
|