warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in [path-to-site-root]/sites/all/modules/date/date/date_elements.inc on line 48.

I get this when attempting to create content of type "event" ...a CCK type set up with a date field. On attempting to edit the node, nothing is displayed in the "from" or "to" date fields, and I am forced to reenter dates to save the node.

Note: I am also forced to reenter dates to *delete* the node, which suggests that validation may be getting ahead of itself?

Let me know if there's other information I can provide to help debug. Thanks!

Comments

karens’s picture

Status: Active » Postponed (maintainer needs more info)

This is rc1? Something is wrong with the version drop-down, so I'm not sure. The drop-down is empty but the top of the issue says rc1.

There is a later version, rc2, and a couple even later fixes in the -dev version to try.

I can't replicate this at all, so start by trying the current code to see what happens there. I have committed fixes today, so you need the latest cvs or tomorrow's -dev tarball to be sure you have the latest code.

If you're still seeing problems after that, I need an export of your date field (use Content Copy to do that), and some steps to reproduce. I'm a little confused by the explanation above about exactly what I have to do to see what you are reporting.

karens’s picture

Status: Postponed (maintainer needs more info) » Fixed

This is an old issue and we have a newer release with lots of fixes, so assuming fixed unless I hear back that the problem still exists in the latest release. There are new releases of Date, Calendar, Views, and CCK and you need all of them.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.