Issues

ZF2-461: $form->bind() return warning when one of the required fileds is empty

Description

Warning: array_walk() expects parameter 1 to be array, null given in /.../vendor/ZendFramework/library/Zend/Stdlib/Hydrator/ArraySerializable.php on line 44

Comments

It seems that I missed a returning array in:


public function getArrayCopy()
{
    return $this->form_data;
}

Maybe the error should be more clear?

This issue has been closed on Jira and moved to GitHub for issue tracking. To continue following the resolution of this issues, please visit: https://github.com/zendframework/zf2/issues/2523