I'm trying to use editable fields to edit a list of schedule entries. These nodes have a date field that when I click on the update cause the following error message:
warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /opt/lampp/htdocs/cpd/includes/database.mysql.inc on line 405.
Upon investigation it because the function date_popup_process() is not be called when the form is being submitted. This converts the dates from arrays to a ISO datetime string. Additionally, date_combo_validate() is not being called - which leads me to assume that the CCK series of hooks - process, validate, submit is not being called when update is being pressed - is this true? And is it fixable?
Thanks for any help!
Alex
Comments
Comment #1
bibo commentedI'm stuck at the same problem, which happened to appear right before some last deadlines of a huge project of mine.. argh.
Seems like I have to find some solution fast for this, going to look at those hooks...
Comment #2
doc2@drupalfr.org commentedJune 1st.: Same problem with version 3.1, except my error gets on line 400 of database.mysql.inc and I don't use popups.
It worked well for me with date version 1.x. I'm now stuck with date 2.x for I needed its necessary features such as null values.
Help welcome... best regards, Arsène
EDIT June 23rd, 2009: anything new?
Comment #3
gmclelland commentedI get the same error as well. Any idea what's going on?
Comment #4
joelpittetClosing legacy issue. Reopen as needed.