Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
0 votes
0 answers
56 views

I'm using Symfony 3.4.36 and experiencing a recurring cache issue where randomly every few days or hours, the application stops working with this error on screen: Unable to write in the cache ...
bader zaouich's user avatar
0 votes
1 answer
866 views

I need to retry a specific failed messenger message from a Symfony controller. When I try to retrieve failed messages by $this->failedTransport->get(); all messages are cleared which is not what ...
brnina's user avatar
  • 27
1 vote
0 answers
185 views

A friend who has a Symfony tool asks me to change his password. I am a PHP developer but I don't know Symfony... I found the security.yml file with the password encrypted in bcrypt (12 passes). When I ...
exexalex's user avatar
-1 votes
1 answer
332 views

I'm resuscitating the old Symfony project. Cannot "composer install". I have tried to make changes in packages removing composer.lock , changing versions of packages. Bugs are multiplying. ...
Matt's user avatar
  • 667
3 votes
0 answers
1k views

I have parent main_layout.html.twig and inside it something like this: {% block javascripts %} {{ encore_entry_script_tags('main_layout') }} {% endblock %} {% block content %}{% endblock %} We ...
Uros's user avatar
  • 2,170
0 votes
1 answer
552 views

Trying to upgrade a project from Symfony 3.x to 4.4 and running into some issues with the doctrine migrations. Currently when trying to run migrations I am receiving this error: [ERROR] The version &...
Stephen's user avatar
  • 523
-1 votes
2 answers
10k views

Currently, I am updating the system running on the existing Symfony 2.3 (currently 3.0.9), and checking the operation. When I tried to change the state of an item to the selected state, I got an error....
youplus's user avatar
  • 71
0 votes
1 answer
579 views

I'm trying to install composer using "composer install" but i get this error. I've searched about it but there is no solution for me. I just understood that it's a version compatibility problem ...
nourane tabka's user avatar
0 votes
2 answers
2k views

I am accessing a part of the site that requires the user to be logged in. But the system, instead of going to the login, and then to the site I want to access, shows me the error indicating that I am ...
Nicolas's user avatar
  • 19
0 votes
0 answers
690 views

When I submit a collection with removed elements, my elements are correctly removed but, I don't understand how Symfony remove elements. When I die(); the script doesn't stop into my remover method, ...
Alexandre's user avatar
  • 329
0 votes
1 answer
562 views

I have some nested forms with CollectionType and seems that the data from the constructor is not passed to the 2nd nesting level. I simplified my form classes, just with I think's important (if you ...
Sergi's user avatar
  • 1,256
0 votes
1 answer
215 views

In my Symfony 3.4 Application I am trying to use LexikJWTAuthenticationBundle (v2.6.3). I installed and configured it and created the needed keys like said on the github page: https://github.com/lexik/...
user3440145's user avatar
0 votes
1 answer
610 views

I am trying to upgrade Symfony from 2.3 to 3.4. At the moment I am try to fix an issue with the dependancy injection. It seems like the old version of the DependencyInjection\Definition class would ...
Robert Aiken's user avatar
3 votes
0 answers
4k views

After upgrading to Symfony 3.4 from 2.8, I am attempting to get rid of warnings about using services from the container. One hang up is my controller all extend from an abstract controller which needs ...
fivejeez's user avatar
1 vote
1 answer
688 views

i'm trying to make a manyToMany relationship with more attributes than the ids, so I need two OneToMany relationships and two ManytoOne relationships having three tables/entities. I have Product ...
Manuel González Burgueño's user avatar
0 votes
1 answer
320 views

I have an entity called Item which has a ManyToMany connection with a JoinTable to an entity called Tags This is working well. The problem is, that I need the tags in the exact order as they are ...
Pankaj Gupta's user avatar
0 votes
3 answers
1k views

I'm getting started with Sylius. Symfony version is 3.2.7. On some pages I have some errors. The pages show text: Oops! An Error Occurred The server returned a "500 Internal Server Error". ...
gvlasov's user avatar
  • 20.3k
1 vote
1 answer
1k views

I have Symfony 3.3/3.4 and since at some time my functional tests have started to work very slowly. Tests which took 10 minutes started to take 1 hour and more. We use these packages: "symfony/...
sane4ek-2's user avatar
0 votes
0 answers
86 views

Here I have a relationship ManyToMany between my entity doctor and insurance.Car a doctor can be affiliated with several insurance for his clinic. And insurance can insure several doctors. I have ...
Mohamed Sacko's user avatar
0 votes
1 answer
200 views

I have been struggling a bit to understand how can I make use of the Container that gives me access to the parameters located at config/parameters.yml. The problem in my hands is I created some ...
Diogo Santo's user avatar
2 votes
1 answer
2k views

Using Smyfony 3.4 and Doctrine ORM 2.5 (mySql) I am looking for a way to "reset" a table. By reset I mean I want to delete all entries of that table and reset the autoincrement for the id column. ...
user3440145's user avatar
1 vote
1 answer
2k views

I'm working on a project made in Symfony 3.1.10. I have three entities: MyEntity 1->n MyPivotEntity MyPivotEntity n->1 MySuperInheritanceEntity and I have another entity MyInheritanceEntity ...
ggirodda's user avatar
  • 790
3 votes
2 answers
8k views

I need to check inside the FormType which field has changed. Is there any method to do it? I've searched for a while, then tried to get edited entities field in few ways (with form events too) to ...
Rallyholic's user avatar
0 votes
1 answer
443 views

I am trying to upgrade my sonata-admin section in project from version 2 to 3. As I understood, the system of filtering had a little bit changed. The section of filtering now is like below: /** * ...
Andii Prokhorovych's user avatar
0 votes
2 answers
2k views

By using Symfony validators How to prevent some HTML tags like <input></input> <textarea><textarea> from being entered in input field and saved in database?
Basel Issmail's user avatar