Trying to make a contact form example with symfony2

前端 未结 4 704
南笙
南笙 2021-02-10 10:27

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         


        
4条回答
  •  余生分开走
    2021-02-10 11:21

    You should replace

    $this->form->bindRequest($this->request);
    

    With

    $this->form->bind($this->request);
    

    As bindRequest() has deprecated.

提交回复
热议问题