Symfony2 Crud Problème envoi d'un formulaire

Symfony\Component\HttpFoundation\Request; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; use MonBundle

2
Gestion utilisateurs

Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\Routing\Annotation\Route; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Security\Http\Authentication\AuthenticationUtils; Class SecurityController extends AbstractController{ /** * @Route("/login", name

1
SQLSTATE[42000]: Syntax error or access violation: 1064

Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Bridge\Doctrine\Form\Type\EntityType; use Symfony\Component\OptionsResolver\OptionsResolver; use Symfony\Component\Form\Extension\Core\Type\TextType; class

2
Condition pour faire apparetre les champs twigs

Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; class SocieteType extends AbstractType { public function buildForm(FormBuilderInterface $builder, array $options) { $builder ->add('adresse') ->add('ville

1
Créarion d'un menu déroulant avec une condition

Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; use Symfony\Component\Form\Extension\Core\Type\ChoiceType; use Symfony\Bridge\Doctrine\Form\Type\EntityType; use App\Entity

2
Impossible d'installer cocur/slugify

symfony-cmd", "assets:install %PUBLIC_DIR%": "symfony-cmd" }, "post-install-cmd": [ "@auto-scripts" ], "post-update-cmd": [ "@auto-scripts" ] }, "conflict": { "symfony/symfony": "*" }, "extra": { "symfony": { "allow-contrib": false, "require": "4.1.*" } } } ``` Merci d'avance

3
je peux accéder à les pages

Symfony\Component\HttpFoundation\Request; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use FOS\RestBundle\Controller\Annotations\RouteResource; use Symfony\Component\HttpFoundation\JsonResponse; use FOS\RestBundle\View\ViewHandler; use FOS\RestBundle\View

3
Erreur : Attempted to call an undefined method named "setEtat"

Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Annotation\Route; use Symfony\Component\HttpFoundation\Request; use App\Entity\SuiviFrais; use App\Entity\ElementsForfaitises; use App\Entity

2
API Platform avec une relation ManyToOne

Symfony\Component\EventDispatcher\EventSubscriberInterface; use Symfony\Component\HttpKernel\KernelEvents; use ApiPlatform\Core\EventListener\EventPriorities; use App\Entity\Client; use App\Entity\Entreprise; use Symfony\Component\HttpKernel\Event\ViewEvent; use Symfony

4
Récupération entité dans une vue

Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; class AdvertController extends Controller { public function indexAction($page) { if($page

2