Questions tagged [symfony-4.3]

Symfony is a PHP framework developed by SensioLabs. Symfony 4.3 was released in May 2019.

Symfony is a PHP web framework first released in July 2011 and was created by SensioLabs. Symfony 4.3 was released in May 2019.

Bug fixes

  • bug #31654 [HttpFoundation] Do not set X-Accel-Redirect for paths outside of X-Accel-Mapping (@vilius-g)

Documentation / Resources

  • Overview: Documentation for current version.
  • Flex: New way to manage Symfony apps.
  • Best Practices: Best practices for developing web apps, esp. the ones using the full-stack Symfony framework.
  • Symfony Recipes Server: Includes official and community recipes.
92 questions
0
votes
1 answer

PHP bin/console doctrine:database:create

Using PHP 7.1.33, I was creating a new database for my project and this problem appeared to me php bin/console doctrine:database:create In AbstractPostgreSQLDriver.php line 79:   An exception occurred in driver: could not find driver In…
0
votes
2 answers

search result combined with pagerfanta

i have an app, which displays a list of items, in the main page i have add form with two inputs, the first will contain the month value and the second one will take a year value; i set up the action inside the controller in that action there is a…
Mohamed Aarab
  • 846
  • 1
  • 11
  • 16
0
votes
1 answer

Symfony - Multienviroment support for Envelope

I'm using enqueue-dev + messenger-enqueue-transport in symfony 4.3 (where i have multiple enviroments (.env)) with beanstalk. How should i setup it so jobs from different enviroments don't get mixed in the same queue? (as beanstalk server is the…
FrakyDale
  • 647
  • 8
  • 22
0
votes
1 answer

Where does Symfony store the information on the loged in users?

I have started a project with symfony 4.3. The code for registering and authenticating users was generated using the console, with bin/console make:auth and bin/console make:registration-form, and I didn't really modify it beyond that. Now, I have…
user153991
  • 135
  • 6
0
votes
2 answers

Symfony 4 when entity field change, change field in another entity

I have two entities for example: class Dog { /** * @var House * * @ORM\ManyToOne(targetEntity="House") * @ORM\JoinColumns({ * @ORM\JoinColumn(name="house_id", referencedColumnName="id") * }) */ private…
DODO
  • 104
  • 1
  • 7
0
votes
1 answer

php bin/console make:entity --regenerate App doesn't generate new fields

I updated this entity adding some fields. Now I'd like to regenerate getters and setters but whe I execute php bin/console make:entity --regenerate App I have no results; my entites are listet but it says "no change". I'v tried event with…
Oriol Planas
  • 107
  • 9
0
votes
0 answers

FOSUserBundle registration form in Symfony 4.3

I'm trying to setup my FOSUserBundle 2.0 for Symfony 4.3 following this documentation: https://symfony.com/doc/2.1/bundles/FOSUserBundle/index.html I created a new member class that extends FOSUser like in the documentation: use…
MortisQc
  • 154
  • 1
  • 9
0
votes
1 answer

Symfony 4 with PHP 7.3 I get Composer update error

I changed my Ubuntu Plesk PHP Version to 7.3.11 to update my Symfony project with composer. I get the following Error: - /etc/php/7.3/cli/php.ini - /etc/php/7.3/cli/conf.d/10-opcache.ini - /etc/php/7.3/cli/conf.d/10-pdo.ini -…
0
votes
1 answer

easy_admin : Configuring the Logged In User Information

In the easy_admin view, there is a fontawesome with "user unnamed". I would like to have the name of the login user. I configured config/packages/easy_admin.yaml like this (name is the propoerty of User that I want to display: entities: …
Patricia B
  • 21
  • 2
0
votes
2 answers

Symfony 4 Custom annotation problem @ORM\Entity does not exist

as part of the development of my CMS that I publish in a while .. I am facing a problem. error : [Semantical Error] The annotation "@Doctrine\ORM\Mapping\Entity" in class ScyLabs\GiftCodeBundle\Entity\GiftCode does not exist, or could not be…
Seytu2b
  • 28
  • 4
0
votes
1 answer

Symfony 4.3 - Overriding template issue the EasyAdminBundle's layout.html.twig case

I'm integrating EasyAdminBundle to my Symfony 4.3 app. No problems except the overring template part .. Fllowing the documentation, the template's overriding mechanism seems not work at all... I'm forcely missing something .. Example with the…
Npr
  • 41
  • 5
0
votes
1 answer

API Platform: Change embedded sub-resources to theirs @id

I'm using Symfony 4.3 and API Platform 2.4. In my API there are resource 'groups' and related sub-resource 'phones': { "@context": "/contexts/groups", "@id": "/groups/7116", "@type": "groups", "id": 7116, "name": "Standard…
Andrey Lebedev
  • 141
  • 1
  • 9
0
votes
1 answer

How to edit and update json string using CollectionType

I have json string in my database. The string looks like [{"x":"1","y":"22"}]. So basically it stores two coordinates for a point. I want to be able to edit and save it using CollectionType form and data transformer. This is my Scene…
0
votes
2 answers

create new folder structures in Symfony

I want to separate my sections in Symfony by folders like this: src - Blog -- Controller -- Entity -- Form -- Repository - Main -- Controller -- Entity -- Form -- Repository With bundle I can't use annotation in controller and…
jynx maze
  • 1
  • 1
0
votes
1 answer

Is_granted method return error on Symfony 4

I am learning Symfony 4 and trying to use is_granted method in twig but unfortunately it return errors: HTTP 500 Internal Server Error Argument 4 passed to Symfony\Component\Security\Core\Event\VoteEvent::__construct() must be of the type int, null…
Yusuf Ibrahim
  • 1,591
  • 5
  • 21
  • 46