Here I\'m trying to fill in a contact form then send it. However when I fill in the form and click on send I have this exception :
UndefinedMethodException: Atte
bindRequest
was deprecated and removed, use submit
method instead
Use $form->handleRequest($request);
to handle form submissions - http://symfony.com/doc/current/book/forms.html#handling-form-submissions
You should replace
$this->form->bindRequest($this->request);
With
$this->form->bind($this->request);
As bindRequest()
has deprecated.
You should replace
$this->form->bindRequest($this->request);
with
$this->form->bind($this->request);
as bindRequest()
has been deprecated.