erreur sfForm::bind() must be an array()
salut a tous
j'ai generé le plus normalement du monde un module
propel:generate-module frontend ActionModule Action
ainsi en testant l'ajout d'une nouvelle action a l'enregistrement j'ai cette erreur
Code:
1 2 3
|
Catchable fatal error: Argument 1 passed to sfForm::bind() must be an array, string given, called in /home/ceiraperf01/Documents/sfprojects/crun/apps/frontend/modules/Action/actions/actions.class.php on line 66 and defined in /home/ceiraperf01/Documents/sfprojects/crun/lib/vendor/symfony/lib/form/sfForm.class.php on line 203
|
pourtant j'ai rien ajouté à la configuration de l'action form
avez vous une idée ?!
je join la description de ma table :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
mysql> desc action;
+--------------------+--------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+--------------------+--------------+------+-----+---------+----------------+
| idaction | int(11) | NO | PRI | NULL | auto_increment |
| libelle | varchar(500) | NO | | NULL | |
| dateecheance | datetime | NO | | NULL | |
| dateaction | datetime | NO | | NULL | |
| datecloture | datetime | YES | | NULL | |
| datecreation | datetime | NO | | NULL | |
| commentaire | varchar(500) | YES | | NULL | |
| statutaction_id | int(11) | NO | MUL | NULL | |
| criticiteaction_id | int(11) | NO | MUL | NULL | |
| probleme_id | int(11) | NO | MUL | NULL | |
| porteur_id | int(11) | NO | MUL | NULL | |
+--------------------+--------------+------+-----+---------+----------------+
11 rows in set (0.00 sec) |