I get the following warning (twice) when I load up content nodes on my site, where I have just installed event.

warning: in_array(): Wrong datatype for second argument in C:\Apache2\htdocs\pleasance\modules\event\event.module on line 1811.

Comments

killes@www.drop.org’s picture

Assigned: Unassigned » killes@www.drop.org
Status: Active » Fixed

thanks, fixed.

simon rawson’s picture

Lightning fast response!!! Thank you!

PeterLucas’s picture

Title: warning: in_array(): Wrong datatype for second argument » Event Module generates error

I still get this problem with the event module:

warning: in_array(): Wrong datatype for second argument in /home/modifiedcontent.com/public_html/drpl/modules/event/event.module on line 1810.

So how is it fixed? Where can I get the fix?

killes@www.drop.org’s picture

Download the module tomorrow after it has been repackaged or get a cvs checkput.

PeterLucas’s picture

OK, thanks. What's "a cvs checkput"?

killes@www.drop.org’s picture

cvs check_o_ut. if you don't know what it is wait for tomorrow's tarball.

PeterLucas’s picture

What's a tarball... :-P

Oh, never mind.

PeterLucas’s picture

Is the new version now online? I downloaded and installed it again, but get the same error message. Or should I reinstall the MySQL tables as well?

killes@www.drop.org’s picture

For some reason the tarballsdid nto get re-generated last night. get the files form cvs for now:

http://cvs.drupal.org/viewcvs/drupal/contributions/modules/event/?only_w...

You will need event.module and event.theme. No db changes.

PeterLucas’s picture

Version: 5.x-2.x-dev » 4.6.x-1.x-dev

Thanks! :-)

dman’s picture

Thankyou.
I was about to start grumbling, but saw the fix was in already. Very nice.

Anonymous’s picture

Status: Fixed » Closed (fixed)