In trying to get Usernode to work, I was finding a form validation error occuring around the "authored on" field from node_form. Based on the text of the error string, I tracked it to date_popup_validate..

In date_popup_validate: For whatever reason, even though $element['#value'] incoming is a date-time string, the test for !empty($element['#value']['date']) returns the value "2".. but is_array($element['#value']) returns false..

Anyway, I tried just putting a check for if "!is_array($element['#value']) return" in there at the beginning but something else was nuking the value of that same field so that node_validate ended up choking on that.

Disabling this module eliminated the problem.

Comments

KarenS’s picture

Status: Active » Fixed

This is an old issue that no longer applies. The Date Popup module no longer tries to alter that field.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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