I'm developing a website using php 7.4, symfony 5.4 and twig. This website is deployed on several servers. On one of the servers (RedHat), a form cann ...
I'm developing a website using php 7.4, symfony 5.4 and twig. This website is deployed on several servers. On one of the servers (RedHat), a form cann ...
I have the following entity: <?php namespace App\Entity\Geo; use Doctrine\ORM\Mapping as ORM; /* * @ORM\Entity(repositoryClass="App\Repository ...
In my Symfony project I have a User entity with the following properties to define followers relation I am attempting to get the paginated list of ...
. Answers to this question are eligible for a +50 reputation bounty. TE ...
Related to this previous topic : Database : Account table with Joined Tables Inheritance I've created a joined tables inheritance in my database (MyS ...
I just installed Doctrine with my Laminas project. I added a database connection and generated my entities in the Application folder (Application\Enti ...
In my Symfony project I have a search form with 5 fields to filter users. A text field (user name) and 4 select fields (category, city, postal cod ...
for the current project that I am going to work on, I need to create many entities using the make:entity command. Each time a new entity is created i ...
I want to get the list of all the customers to put it in a global variable. For that, I configure the twig.yaml file: Then, I create a file OrderE ...
I'm using the console command doctrine:schema:create --dump-sql to generate the SQL for a migration file. I'm repeatedly running it as I'm making sma ...
I'm trying to optimize my Symfony project and wondering if an entity object is being fully (all fields) fetched from the database when I pass it to a ...
When I need to access an entity repository in a public function I usually inject it with the args for that function, such as However, when I have a ...
I'm trying to update a related entity via the main one. For example I have products and offers. I do a POST to /products And I get this response ...
I have a form and i want submit it depends on the click of a radio button which is a choiceType : I have three entities(User which is the parent of Pa ...
I hope you'll help me... When I try to login on my Symfony 6 app, nothing happens. I have no error, but it don't log me. It only refresh the page. s ...
I have no idea where my problem is located, first of all I wanted to build rest api with slim framework and doctrine. but I'm getting this kind of err ...
I'm new on symfony 6.1 and i would like to understand what wrong with my custom sql request. I try many things but with no success can you help me ? ...
I'm trying to setup entities with Doctrine and I'm stuck with this error : When persisting the data, I've got a SQL error about a non null constraint ...
I upgraded a legacy project from: PHP 5.6 -> 8.0 doctrine/orm 2.5.14 -> 2.13.4 doctrine/data-fixtures 1.2.2 -> 1.5.3 Now the following co ...
Using Symfony 5.4.17. New to Symfony. I have three similar Entity types and want to return an array called Food that I can loop over in a twig templa ...