I ran this, changing my Date field into a Datetime field. Upon trying to create a node that has this field I'm presented with the following error:
Fatal error: Cannot unset string offsets in /Users/jbitner/Sites/drv2/public_html/sites/all/modules/date/date/date_elements.inc on line 273
Upon trying to configure the field I get the following error:
Fatal error: Cannot unset string offsets in /Users/jbitner/Sites/drv2/public_html/sites/all/modules/cck/includes/content.node_form.inc on line 60
This seems to happen with a field that has the 'Text Field with Date Popup calendar' widget type, but not 'Text Field with custom input format' widget type.
Comments
Comment #1
karens commentedTry changing the widget to a select widget before trying to convert the field. That was the widget I used in my testing. If that works, it may be some weirdness in that widget.
Comment #2
sirkitree commentedW00t! That worked and I was able to change the widget type back to Popup after the conversion!
Comment #3
drupalsteve commentedWhat is this date type converter you refer to? I also want to convert my Date field into a Datetime field.
Comment #4
damienmckennaUnfortunately the Drupal 6 version of the Date module is no longer supported. That said, we appreciate that you took time to work on this issue. Should this request still be relevant for Drupal 7 please feel free to reopen it. Thank you.