Cristian Pana - blog

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

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: ...
Thursday, April 20, 2017

Automated API testing using Codeception

›
I was looking for a tool for testing an API, and I remembered about my old friend Codeception , which I used for some functional testing a w...
Friday, October 7, 2016

Web SSO - part 2 - integration with LDAP

›
In my previous article I presented how to create a web SSO system using SimpleSAMLphp and Symfony. The users where declared directly in sim...
‹
›
Home
View web version

About Me

My photo
Cristian
View my complete profile
Powered by Blogger.