Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

I'm struggling with entity persistence. When I associate an existing object (eg: AccountType) to a new one (eg: User), it always tries to create a new AccountType entry. If I add cascading, I have ...
Aurelien Stride's user avatar
0 votes
0 answers
62 views

Here is example of mapping: Cateogory mapping: <entity name="App\Core\Domain\Post\Item" table="post_item"> <id name="id" type="integer" column="...
alias's user avatar
  • 155
0 votes
1 answer
76 views

I have issue with preparing query in Symfony5 and Doctrine. I have relation Excel -> Worksheets -> LocalizedWorksheetContents. My goal is to fetch Excel records which worksheets don't contain ...
Chanyss921's user avatar
0 votes
0 answers
45 views

I have one Parent and three child FormTypes: ParentFormType ChildOneFormType ChildTwoFormType ChildThreeFormType All thee child classes inherit from parent. So, here is my Form class class MyFormType ...
Zaid Mirza's user avatar
  • 3,739
0 votes
0 answers
110 views

I wanted to execute my make sf_console c="ftp:download" command which is located in the Command folder and I got this error Attempted to call function "ftp_ssl_connect" from ...
Wassim Benkhelifa's user avatar
0 votes
0 answers
54 views

I am upgraded my pimcore 10 to pimcore 11 then using symfony 5. My problem is when I am running this command php ./bin/console pimcore:bundle:install PimcoreAdminBundle I am experiencing this error ...
Eleazar Embuscado's user avatar
-1 votes
1 answer
151 views

I'm using Symfony\Component\Mime\Email to send emails with try/catch. Locally when the smtp server (mailhog) is down the try/catch works well. But in prod, if the smtp is down, the page loads for ...
Sami's user avatar
  • 785
0 votes
0 answers
110 views

I'm new to Symfony and I'm trying to do an app from command symfony new 'app_name' --version=6.4 --php=8.3 --webapp --docker --cloud importmap seems to work fine and bootstrap css has been loaded well,...
Augusto Mellini's user avatar
0 votes
0 answers
23 views

I am working on a demigratio sydmfony project towards version 5.4, and I have not been able to connect to my orientdb database. In this project we use ostico/orientdb, here is the error message: An ...
sof's user avatar
  • 1
0 votes
1 answer
57 views

I need to listen to the click of a checkbox created and displayed in the view through Symfony5 formBuilder and within a sonataAdminBundle interface. The point of this being to adapt some other field ...
Yoc's user avatar
  • 1
0 votes
1 answer
105 views

I use to add vue3 frontend content in a backend symfony 5, I need to return a jsonResponse for sorting values in the front, I did a Serializer Service to Serialize in Json an object which is from the ...
Vince's user avatar
  • 23
-1 votes
1 answer
104 views

I am having difficulty in getting my PHPUnit tests for my Symfony 5.4 application running in a Gitlab runner. My .gitlab-ci.yml: phpunit: stage: test image: php:8.2-alpine variables: ...
crmpicco's user avatar
  • 17.3k
1 vote
1 answer
118 views

How can I make thus field use the template? Following the documentation does not seem to help. What am I missing? I'm trying to render it on this crud controller field: $translationContents = ...
Castas115's user avatar
0 votes
1 answer
98 views

Expected behavior In order to upgrade from Symfony 5.4 to Symfony 6.4, we have removed the currently deprecated "TokenBasedRememberMeServices" and implemented the new RememberMe autologin ...
cworain's user avatar
-1 votes
1 answer
614 views

On a Symfony 5.4 project, I am trying to get rid of this deprecation Since symfony/framework-bundle 5.3: The "Symfony\Component\HttpFoundation\Session\SessionInterface" and "...
nulll's user avatar
  • 1,601
1 vote
0 answers
40 views

I have a Custom product which when added to cart, I intend to validate the cart and ensure the custom product meets certain criterias before checkout. Please see Shopware Documentation: Add Cart ...
Templator Khan's user avatar
0 votes
1 answer
362 views

I work on an application with symfony and upgrade it from 5.4 version to 6.4. Since, I can't cache:clear without to get many errors : With cache:clear -vvv I get : 07:40:33 DEBUG [php] Warning: ...
juuk's user avatar
  • 19
1 vote
1 answer
674 views

I am upgrading symfony 4.4 to 5.4 using PHP 8.2 after run composer update command then i am facing this issue. ERROR: Compile Error: Declaration of Symfony\Bridge\Monolog\Handler\ConsoleHandler::...
Suraj Sharma's user avatar
0 votes
1 answer
35 views

I want to make a request to retrieve elements from my table that contain a property called 'stat.' This property is a discriminator. When I retrieve the elements based on the discriminator as in the ...
jeremie legrand's user avatar
2 votes
1 answer
146 views

I am trying to get type hinting to work with a custom User class in the Symfony 5.4 Security bundle and PHP 7.4. So I have this User class: // src/Security/User.php <?php namespace App\Security; ...
wolfsblu's user avatar
  • 323
0 votes
1 answer
217 views

I'm working on my second Symfony project and trying to follow best practices. I've switched from static methods to services for improved readability and potential performance gains. For instance, I ...
Brentspine's user avatar
  • 1,095
2 votes
0 answers
167 views

Since I updated 2FA in order to put trusted device, I get this error after the login and security code entered: Key provided is shorter than 256 bits, only 64 bits provided I updated my User entity ...
djdelarue's user avatar
  • 113
-2 votes
1 answer
316 views

Bundle version: 6.1 Symfony version: 5.4 PHP version: 8 I wish to add two-factor authentication to my project and I came across your solution which seems great to me. Initially, the installation ...
djdelarue's user avatar
  • 113
1 vote
0 answers
77 views

In symfony54, API controller, i have * @OA\RequestBody( * @OA\MediaType( * mediaType="multipart/form-data", * @OA\Schema( * @...
haijiang li's user avatar
0 votes
0 answers
103 views

Few days ago I faced a problem in my production environment. Let's say I've got a FOOClass. When I tried to use it in another class, I made a typo in the use statement like so use My\Namespace\...
cartoon's user avatar
0 votes
1 answer
152 views

I am using symfony 5.3.9, what I want to achieve is when I click on a button (vue 3 as front end), I call a function like this: public function __construct(TokenStorageInterface $tokenStorage, ...
Oten's user avatar
  • 23
1 vote
1 answer
2k views

I runed the command composer install in my Symfony project. However, when I attempted to run the command symfony console doctrine:schema:update, I encountered the error message: Unknown column type &...
Ferdinand Juko's user avatar
0 votes
1 answer
99 views

So my problem is that whenever im sumbitting my form after filling in it gives me an error Expected argument of type "string", "App\Entity\User" given at property path "...
bulent's user avatar
  • 3
0 votes
1 answer
197 views

[PHP] [Symfony 5.4] [Testing] Hello!! I am trying to add some test coverage to a symfony project. The service I am trying to test is a symfony CLI command. The setup looks something like this: ...
drunkZombie's user avatar
0 votes
1 answer
357 views

I'm getting this following error [Application] Jan 5 00:03:10 |CRITICA| CONSOL Error thrown while running command "make:migration". Message: "An exception occurred while executing a ...
Chris's user avatar
  • 39
0 votes
1 answer
506 views

I have upgraded Symfony from 4.4 to 5.4. Every dependencies have been upgraded and recipes installed. I have a .env and a .env.test (nothing else in terms of dotenv). I also have a phpunit.xml.dist as ...
Julien Gidel's user avatar
0 votes
1 answer
81 views

My Route is a POST route. What I want is that if someone makes a GET request then it should give my own custom JSON message instead of the below one. I even did the following but the code is crashing ...
Volatil3's user avatar
  • 15.1k
1 vote
1 answer
62 views

In security.yml I have defined below: access_control: - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/api/getDays, roles: IS_AUTHENTICATED_ANONYMOUSLY } # - { ...
Volatil3's user avatar
  • 15.1k
1 vote
0 answers
698 views

After decorating a Shopware 6 core service and adding a new method, how do you use the call up the new method. I am not allowed to modify Shopware 6 bundle code base. Example: //abstract class begins ...
IamArobot's user avatar
1 vote
1 answer
267 views

How Do I Solve This Shopware Error The definition for "Pugil/Core/System/NumberRange/ValueGenerator/Pattern/ValueGeneratorPatternLanguage" has no class. If you intend to inject this service ...
IamArobot's user avatar
1 vote
0 answers
52 views

I have a working OneToMany relation between my class Devis and my class Dossier. This is my class Devis: /** * @ORM\Entity * @ORM\Table(name="devis") * @ORM\Entity(repositoryClass="...
CE_'s user avatar
  • 1,118
-2 votes
3 answers
882 views

I get the following error when I try to run my Symfony project via docker compose. Here is the error: Script cache:clear returned with error code 255 !! Symfony\Component\ErrorHandler\Error\...
Onur's user avatar
  • 451
0 votes
1 answer
126 views

Context: I'm working on a Symfony 5 application with entities InventaireActif and TypeActif having a ManyToMany relationship. An issue arises when managing this relationship through a Symfony form. ...
Meyo GIT's user avatar
0 votes
1 answer
461 views

My JavaScript code is making the following POST API call to my endpoint: const payload = { course: args, recipient: roomId }; const signature = this.calculateSignature(JSON.stringify(payload), ...
crmpicco's user avatar
  • 17.3k
-1 votes
1 answer
106 views

I've come back to Symfony after a long time in order to make things more accessible for other developers and properly integrate it in someone else's project. The problem I'm facing is that my project ...
StevieStef's user avatar
-1 votes
2 answers
156 views

I am using Symfony 5.4 together with Shopware 6.4 I would like to collect metrics about the cache usage like hits/misses in production. This should be done in a way that doesnt impact production ...
Thomas's user avatar
  • 648
1 vote
1 answer
449 views

What are the ways to get the time zone given the city code in php8.1 with Symfony 5.4?
Dev devovs's user avatar
0 votes
1 answer
325 views

Using Symfony 5.4 and stof/doctrine-extensions-bundle 1.7 I have an project with existing data in two languages. While asked to add some more languages I try to implement Translatable of the doctrine ...
user19733098's user avatar
0 votes
1 answer
30 views

How do I check PMTool checkbox as default? Also I don't want this to override the data when I modify the existing user. -> add('raw_roles', ChoiceType:: class, [ 'label' => 'User access', ...
Kartik's user avatar
  • 1
-1 votes
1 answer
449 views

Symfony >= 5.3 app isn't API app isn't SPA don't use FOSUserBundle Do I need to set json_login setting in security.yaml? Do I need to set custom_authenticator setting in security.yaml? I ...
Dmitriy Lysenko's user avatar
0 votes
1 answer
48 views

I'm new to symfony and I'm trying to build my Sign up page. Generated the form and fields through my FormType, but I kind of want to change how the terms and conditions' checkbox looks. It's label ...
SkyLine's user avatar
-1 votes
2 answers
56 views

In a Symfony 5.4 project calling composer update stops (or is not proceeding) when the downloading part should process. It lists all the things to download like this Downloading php-http/discovery (1....
user3440145's user avatar
-3 votes
1 answer
800 views

I have a symfony 5.4 project and I want to implement kafka with the symfony messenger component. I've seen several ways to do this, including this post: Symfony Messenger with Apache Kafka as queue ...
user13410345's user avatar
1 vote
0 answers
102 views

After migrating pimcore 6.9 to 10.6 successfully, admin interface has router issue I have changed routing as per symfony flex document, But getting this error Also please help me to organize existing ...
Thejaswini's user avatar
0 votes
2 answers
2k views

I use EasyAdmin to manage the back office of my site created with Symfony 5. One of my entities has a TextEditorField type field that I use with CKEditorType for forms. In the forms no problem I can ...
Eclat's user avatar
  • 31

1
2 3 4 5
23