Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
_form_builder_handle_input_element() calls drupal_array_nested_key_exists() that expect $form_state['values'] to be an array.
Comment | File | Size | Author |
---|---|---|---|
init-values.patch | 397 bytes | amitaibu |
Comments
Comment #1
casey CreditAttribution: casey commenteddrupal_rebuild_form() doesn't contain such thing. I like to reuse as much fapi as possible and I found out the code was entirely equal so I replaced it with a call to drupal_rebuild_form().
So we need to find out why subforms get that error, while normal forms don't.
Comment #2
amitaibuuser-modal seems to work ok without that, after latest changes in subfdorm, so closing.