I created a date field on a node, with From but no To.

Originally I set it to select box widgets. It worked fine.

I then enabled the popup widget module, and changed the widget of the date field to the JS popup. When I clicked save, I got the following error, twice:

warning: array_shift() [function.array-shift]: The argument should be an array in /shared/vash/sandboxes/garfield/wustldept/site/www/includes/form.inc on line 1297.

When I go to the node creation form, then, clicking the date textfield shows a calendar popup but the calendar has no actual days in it. Clicking in the time field does not pop up anything. (I do not know if that is related or a separate bug, but they appeared together so I am mentioning them together.)

This is with CCK 1.0-alpha, Date 1.0-beta, and Drupal 6.2.

Comments

Crell’s picture

Hm, curious. If I save go edit the field again and save again, I get no error. The date popup then DOES work. There is still no popup on the time field. (Not sure if there is supposed to be.)

Crell’s picture

Component: Code » Date Popup
KarenS’s picture

Status: Active » Fixed

I think this is all working fine in latest -dev code. There have been lots of fixes since this was reported.

If there's a problem in the current code, you can re-open.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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