Category : action

I have a dating website programmed with symfony. I want to add a function in easyadmin to be able to delete a user and her/his messages and posts. In UserCrudController I followed the instruction in symfony website and write a custom action. But I get an error Warning: array_merge(): Expected parameter 2 to be an ..

Read more

I’m trying to make a form, which I self-defined the action like this in my controller: $form = $this->createForm(ProgrammeSearchType::class, $search, [ ‘action’ => $this->generateUrl(‘recherche_programme’), ‘method’ => ‘GET’, ]); But, the form rendered in the view look like this: <form id=”myForm”> {{fields…..}} </form> So.. there is a problem. Why “action” is not specified in the HTML ..

Read more