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

Issue Type: Improvement Created: 2012-08-10T12:38:58.000+0000 Last Updated: 2012-10-08T20:15:00.000+0000 Status: Closed Fix version(s): Reporter: Michael Ben-Nes (mbn_18) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend\Filter

  • Zend\Stdlib
  • form
  • validating

Related issues: Attachments:


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


Posted by Michael Ben-Nes (mbn_18) on 2012-08-11T20:23:42.000+0000

It seems that I missed a returning array in:

<pre class="highlight">
public function getArrayCopy()
    return $this->form_data;

Maybe the error should be more clear?

Posted by Ralph Schindler (ralph) on 2012-10-08T20:15:00.000+0000

This issue has been closed on Jira and moved to GitHub for issue tracking. To continue following the resolution of this issues, please visit:

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.