Not Being Able to use ENV variables in React – Reactjs
i want to put the url in a env file, but when i do that i get a html object back and not my json object it also says my REACT_APP__API_URL is undefined? but i defined it in the root…
i want to put the url in a env file, but when i do that i get a html object back and not my json object it also says my REACT_APP__API_URL is undefined? but i defined it in the root…
What is the procedure - I download the dunglas/symfony-docker repository, then run the following command: SYMFONY_VERSION=6.2.* docker compose up --build After entering the container, I run the composer install command. At this point, the files outside the container have root…
I've a association in my EntityDefinition: ... class ParentEntityDefinition extends EntityDefinition { ... protected function defineFields(): FieldCollection { return new FieldCollection([ (new OneToOneAssociationField( 'childEntity', 'id', 'parent_entity_id', ChildEntityDefinition::class, false)), ]); } ... } The ChildEntity has a fk_field to currency_entity. To…
I'm using a shared host with cPanel control panel. I installed Symfony 6 in a subdomain. I'm a total beginner trying to explore and learn the Symfony framework and build something small. I following a tutorial course trying to make…
I need to check if entered value, e.g "specialist", is not in use as an URL in Symfony 6 application. Simple ANY-method paths are simple: /** @var RouterInterface $router */ $router->match('/specialist'); // returns array Non-matching methods are also simple: /**…
My database : MySQL Project : Symfony 6 Table structure : 1 article may have many comments each article must have 1 article. Steps : 1 - I can list my articles filtered by user roles. 2 - I can…
I'm encountering a strange problem on symfony 5.4 when executing every command , made by me or of the framework like cache:clear , i instantly recieve this error: In Kernel.php line 418 The environment "= " contains invalid characters, it…
In my HTML page, I have a modal : <div class="modal fade"> ..... <div class="modal-body" id="{{ modalId ~ 'Body' }}"> **** I want load HTML with Ajax here ******************** </div> </div> I want to load HTML dynamically with ajax in…
I'm working on a Symfony Bundle in order to add an AI recommandation when an Exception occurs, in the debug page (dev. mode). To do that, I have followed the Symfony Documentation and created a custom controller to handle Exception.…
I hope you all are doing good but I'm not due to this hectic issue which I'm trying to fix from 2 days. Any help regarding my query will be appreciated. I'm getting this issue after upgrading my symfony version…