Symfony2 Doctrine – Catchable Fatal Error: Object of class XYZ could not be converted to string in Doctrine\DBAL\Statement.php line 131

    • Andrew Starlike
    • June 9th, 2013

    you are amazing man! i had this problem on ZF2 and nowbody is asking/talking about this issue there!

    Thanks for sharing!!!

    • lapo
    • October 2nd, 2013

    I would say thanks to you…after 2 days of smashin my head I found this simple and clear explanation of my probs! big up!

    • Don’t worry, i made this post because i wasted a lot of time too, trying to get the fix. You’re welcome πŸ™‚

    • Achretl
    • June 4th, 2014

    thx a lot man <3 <3

    • Tatiana
    • November 10th, 2014

    Thank you, really! You saved my day!

    • Hamish
    • April 6th, 2015


    • elena
    • August 24th, 2015

    Thank you!!! you’ve fixed my problem!!

    • Rnv
    • September 3rd, 2015

    hell yeah!!!! THANK YOU….

    • Luis S
    • January 25th, 2016

    You are the man!!!! Thanks!!!!

  1. I was just banging my head on the desk, thank god i found this. Weird this problem occur, but thank you for this tutorial.

    • Cristian
    • September 7th, 2016

    Thanks… very thanks

    • Erickson
    • October 17th, 2016

    Thanks… very thanks πŸ™‚

    • anzai
    • June 25th, 2017

    Thank you! Nothing to say except … thank you!

    • Amit
    • June 27th, 2019

    Thanku so much… πŸ™‚

    • ghassen
    • November 21st, 2021

    im using symfony 4 and i couldnt solve this fatal problem anyone help me please

  1. No trackbacks yet.