Cristian Pana - blog

Cristian Pana - personal blog on software development, PHP, Symfony Framework, web technologies.

Sunday, December 10, 2023

Doctrine error Binding entities to query parameters only allowed for entities that have an identifier

›
If you have reached this page you are probably a little bit desperate to know WHY?!!! After checking doctrine mappings for a while I've ...
Wednesday, April 28, 2021

Deploy Symfony project on AWS ElasticBeanstalk using Github Actions

›
 In this article I will build a simple CI/CD flow which will have the following steps: - push code to master branch and trigger Github Actio...
Saturday, February 20, 2021

Doctrine: Given object is not an instance of the class this property was declared in

›
 This error confused me a little bit. I was trying to add an EntityType field to my form and I was keep getting this error.  Executing: php ...
Tuesday, December 15, 2020

Watch out! XDebug 3 will not work with some older PHPStorm versions

›
 I lost like half a day till a figure it out why XDebug from my Docker container will not work properly with PHPStorm. In Preferences > L...
Tuesday, October 22, 2019

Symfony file upload mysterious error

›
Uncaught PHP Exception Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException: "The file "" does not exist...
Wednesday, October 2, 2019

Symfony service container: binding arguments by name or type

›
This cool feature was introduced in Symfony 3.4 (https://symfony.com/blog/new-in-symfony-3-4-local-service-binding) but I didn't use til...
Wednesday, September 18, 2019

Custom user provider using multiple database connections with Doctrine and Symfony 4

›
Situation : I am using Symfony 4.3 and autowiring. I have 2 Doctrine database connections, a default and "users" connection: ...
›
Home
View web version

About Me

My photo
Cristian
View my complete profile
Powered by Blogger.