Quantcast
Channel: Active questions tagged symfony4 - Stack Overflow
Browsing all 3927 articles
Browse latest View live
↧

An exception has been thrown during the rendering of a template ("Asset...

I cloned a Symfony 4 web application (which work on the server) to a fresh installed VM, but after installing all the packages, I get this error message :An exception has been thrown during the...

View Article


How to update roles in security token in Symfony 4 without re-logging in

I'm trying to update User's roles after the user confirms its phone number.I make the update in the database:$user->setRoles(["ROLE_USER"]); $em->persist($user); That works fine and updates the...

View Article


MyPOS Checkout usingSymfony

Actually im about to configure myPOS Checkout with my somfony 4 project but their documentation about the configuration not that clear have no idea from where to begin. If anyone can help it would be a...

View Article

Image upload with sonata admin

See EDIT aboveI think the issue is pretty simple to solve but I can't find any clear answer right now. I hope you might have an idea.I'm trying to upload an image with sonata admin.In my entity I have...

View Article

Need documentation : How to create custom formType from EntityType ? (can't...

I 'm trying to create a custom formType From an Entity with 1 checkbox, 2 labels and 1 text field :Something like that :[ ] My label : My label 2 [__________]So, I create a class...

View Article


Problem with Command line symfony version 4.12.4

When I use the symfony new project command, the terminal answers me that it is done and that the project is ready but I have absolutely no files created, it worked before the update ... Do you have a...

View Article

how to configure knp_snappy bundle to generate a different page format

I'm working on an app using Symfony 4 , i encounter a problem while doing the print function or the generation of the Pdf from html for different format, my app does release bills using a controller...

View Article

Designing and Tuning Website with Many Data Sources [closed]

I work in Identity & Access Management and routinely produce web-based tools for viewing and managing identity data. The data sources I use are many and varied: Oracle, LDAP, AD and other...

View Article


Symfony Validator: validate by comparing the old value from the DB

I'm working with Symfony 4.4, For security reason, when submitting OrderProduct entity that embedd Product entity, I have to control some values of OrderProduct taken from Product.So, it's an Symfony...

View Article


Symfony 4 + Sonata Admin - No metadata found for property in inherited property

I've got an error for some time now when I try to add filters to an Admin. There are two entities: Client and Order.In the OrderAdmin file, the following filters work:$datagridMapper ->add('id')...

View Article

Integrating Gitlab giving authentication issue in symfony

I am trying to implement Gitlab authentication in my Symfony project. These are the list of my files.GitlabAuthController.php/** * Class GitlabAuthController. * @Route("/api") */ class...

View Article

Problem on Symfony Mailer with SMTP and certificate ssl not valid

Symfony version(s) affected: 4.4.3Mailer component (not swiftmailer)Description i try to send a mail on the SMTP server but this one don't have a certicate valid. So How to disable the ssl ?How to...

View Article

Install twig/extensions on a Symfony 4 or Symfony 5 new project

I'm preparing to migrate a huge website from Symfony 3.4 to Symfony 4.4. To do this, I'm starting from a new fresh installation of Symfony 4.4, and as the intial project requires the use of Twig...

View Article


How are Symfony services private by default?

From the official release, Symfony services are private by default. But when I run debug command on my Symfony-4.4 container:bin/console debug:containerIt still lists a lot of Symfony framework...

View Article

There is no user provider for user, symfony 3.4.37

Since the upgrade to Symfony 3.4.37, I'm having this issueThere is no user provider for user "Mybundle\Myuser".With version 3.4.36 and previous, it was working fine.security.ymlsecurity: providers:...

View Article


Symfony - duplicate entity object setting

I am targeting all entity objects from one table to fill the other with the same data. I want to set results that I have found in CardBalances table to Balances tablefind by the same card_id in first...

View Article

Migrate to docker desktop 2.2 generate acl errors

Description:One of my team member has migrate docker desktop to version 2.2. Since, the php service won't start due to setfacl command from an entrypoint.sh. Context:We are working on a api-platform...

View Article


Symfony - set expiration time automatically

I am setting new entity in my form and I have field 'created' which I want to use to set expiration time automatically. I want for expired field to be set on true 30 minutes after entity is set. I have...

View Article

bugsnag + symfony - report notices and deprecations

We used Bugsnag to aggregate and report issues on a symfony 4 project. All works well except the fact that notices are logged but not sent into bugsnag.From what I see in code for the bugsnag listener...

View Article

How to dynamically change form in Symphony 4 basing on several inputs

I have to update the form dynamically when it is submitted.There is a documentation for it...

View Article
Browsing all 3927 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>