Posted by roy_k on November 17, 2014 at 5:19am
I toke the example in
http://davidsonj.com/bl…/how-create-multi-step-form-drupal-7
and I cant make it work or even solve a single message.t solve them. (see attached file)
1. I get a lot of errors and can
2. The form in step 1 does not show up but the header (which is much less important does).
The code:
http://pastebin.com/R8eNeTKk
Please, Help!
Comments
Little progress..
I solved most of the errors and problems but I still get errors, I tried to search the web but no answer or even a clue:
Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 173 of /var/www/ttm/includes/entity.inc).
Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 173 of /var/www/ttm/includes/entity.inc).
Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 173 of /var/www/ttm/includes/entity.inc).
Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->cacheGet() (line 350 of /var/www/ttm/includes/entity.inc).
Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->cacheGet() (line 350 of /var/www/ttm/includes/entity.inc).
Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->cacheGet() (line 350 of /var/www/ttm/includes/entity.inc).
I successfully showed the form but the "default_value" does not show up although there is a data in the variables that set them.
Where did I do wrong?
10x in advence.