Roles FosuerBundle

symfony\vendor\symfony\symfony\src\Symfony\Component\PropertyAccess\PropertyAccessor.php on line 438 and defined J'ai fait une surcharge du controller Register de FOS, mais ça ne marche pas. Si quelqu

10
un fatal error avec FrameWork silex

Symfony\Bridge\Twig\Extension\FormExtension::__construct() must be an instance of Symfony\Bridge\Twig\Form\TwigRendererInterface, instance of Symfony\Component\Form\FormRenderer given, called in C:\wamp64\www\stpoSilex\vendor

14
Faire des Sous-projet SF4

Symfony 4, j'ai commencé Symfony par cette version je n'ai pas d'expérience pratique avec les autres. Mais je me suis tout de même documenter, je sais qu'il existe

4
API Platform - DataPersister - Impossible de créer un nouveau User

Symfony\Component\Security\Core\User\UserInterface; use Symfony\Component\Serializer\Annotation\Groups; use Symfony\Component\Serializer\Annotation\SerializedName; /** * @ApiResource( * collectionOperations={ * "get", * "post"={ * "security"="is_granted('ROLE_ADMIN')" * }, * }, * itemOperations={ * "get", * "put"={"security

0
Formulaire d'inscription avec plusieurs entity

inscription ### Ce que j'obtiens Warning: count(): Parameter must be an array or an object that implements Countable in C:\xamp\htdocs\Scolarite1.0\vendor\symfony\symfony\src\Symfony\Component\Form\Form.php line 704

2
Erreur "EmptyNode cannot have children" dans EasyAdmin 4.24
tzen,

Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Annotation\Route; #[AdminDashboard(routePath: '/admin', routeName: 'admin')] class DashboardController extends AbstractDashboardController { public function index(): Response { //return parent::index(); //Affichage de l'admin

3
Validation avec UniqueEntity Constraint

Symfony\Component\Validator\Constraints as Assert; use Doctrine\ORM\Mapping as ORM; use Symfony\Component\Security\Core\User\UserInterface; use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; /** * @ORM\Entity(repositoryClass=UserRepository

3
[SILEX] Comment mettre le site en production

Symfony\Component\HttpFoundation\Request), 500) #5 /var/www/html/roadsofearth/vendor/silex/silex/src/Silex/ExceptionListenerWrapper.php(53): call_user_func(Object(Closure), Object(Doctrine\DBAL\Exception\ConnectionException), Object(Symfony\Component\HttpFoundation\Reque in /var/www/html/roadsofearth/vendor/twig/twig/lib/Twig/Loader/Chain.php on line 129 ``` J'ai essayé

3
Symfony2 ManyToMany widget sous forme d'une table selectable

Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolverInterface; class PatientType extends AbstractType { /** * @param FormBuilderInterface $builder * @param array $options */ public function buildForm(FormBuilderInterface $builder, array

2
Ratchet (Websocket sur Infomaniak)

Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; class WebSocketServerCommand extends Command { protected static $defaultName = "run:websocket-server"; protected function execute

0